]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: show registers in crash dumps by default
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 11 Aug 2024 11:01:04 +0000 (13:01 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 10 Sep 2024 02:10:43 +0000 (10:10 +0800)
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>
arch/riscv/Kconfig

index fd1f5f87b6309ec5b9bca888c43b35c6e1c70568..876bec35bc19ebc4b90454f15678cc7fb33513d8 100644 (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