mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user