summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2024-08-11 13:01:04 +0200
committerLeo Yu-Chi Liang <[email protected]>2024-09-10 10:10:43 +0800
commit4a36d217bb131ec82cdb9a010221d6ae420aaf1b (patch)
tree94f72aebb1d147043ab35c701c03957cb4a0bd3e
parent73e73f04b79480ff1ee9e73aa68794f3f9c0e047 (diff)
riscv: show registers in crash dumps by default
If an exception occurs in main U-Boot, show the registers. This makes analyzing crashes especially in external applications easier. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index fd1f5f87b63..876bec35bc1 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -438,6 +438,7 @@ config AVAILABLE_HARTS
If disable this, it will send IPI by CPUs node numbers of device tree.
config SHOW_REGS
+ default y
bool "Show registers on unhandled exception"
help
By default only the program counter and the return address register