From: Heinrich Schuchardt Date: Sun, 11 Aug 2024 11:01:04 +0000 (+0200) Subject: riscv: show registers in crash dumps by default X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=4a36d217bb131ec82cdb9a010221d6ae420aaf1b;p=u-boot.git 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 Reviewed-by: Leo Yu-Chi Liang --- diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index fd1f5f87b6..876bec35bc 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