diff options
author | Sean Anderson <sean.anderson@seco.com> | 2023-10-27 16:40:15 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-10 12:52:33 -0500 |
commit | 47cfdb2192b1f8cb5061bde53fcce562afaeadf2 (patch) | |
tree | 83379c53e7d1821b8351db5dec24f1835f11c526 /lib | |
parent | 6ef83ab6be8978ab85a7d8967e9585ddf5f2bbbd (diff) | |
download | u-boot-47cfdb2192b1f8cb5061bde53fcce562afaeadf2.tar.gz u-boot-47cfdb2192b1f8cb5061bde53fcce562afaeadf2.tar.bz2 u-boot-47cfdb2192b1f8cb5061bde53fcce562afaeadf2.zip |
arm: semihosting: Support semihosting fallback on 32-bit ARM
Add support for a semihosting fallback on 32-bit ARM. The assembly is
lightly adapted from the irq return code, except there is no offset
since lr already points to the correct instruction. The C side is mostly
like ARM64, except we have fewer cases to deal with.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 0c3afae8f5..9ae846ea5f 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -100,7 +100,7 @@ config SEMIHOSTING config SEMIHOSTING_FALLBACK bool "Recover gracefully when semihosting fails" - depends on SEMIHOSTING && (ARM64 || RISCV) + depends on SEMIHOSTING default y help Normally, if U-Boot makes a semihosting call and no debugger is @@ -123,7 +123,7 @@ config SPL_SEMIHOSTING config SPL_SEMIHOSTING_FALLBACK bool "Recover gracefully when semihosting fails in SPL" - depends on SPL_SEMIHOSTING && (ARM64 || RISCV) + depends on SPL_SEMIHOSTING select ARMV8_SPL_EXCEPTION_VECTORS if ARM64 default y help |