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 <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
Heinrich Schuchardt
2024-09-10 10:10:43 +08:00
committed by Leo Yu-Chi Liang
parent 73e73f04b7
commit 4a36d217bb
+1
View File
@@ -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