[PATCH 0/2] riscv: show registers in crash dumps by default

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sun Aug 11 13:01:02 CEST 2024


To minimize SPL size it is reasonable to disable SHOW_REGS. For main U-Boot
the size restrictions are much more relaxed.

* Provide separate Kconfig symbols for SPL and main U-Boot.
* Enable showing registers in main U-Boot by default.

Heinrich Schuchardt (2):
  riscv: allow to enable SHOW_REGS in main U-Boot only
  riscv: enable showing registers by default

 arch/riscv/Kconfig          | 13 +++++++++++++
 arch/riscv/lib/interrupts.c |  7 +++----
 2 files changed, 16 insertions(+), 4 deletions(-)

-- 
2.45.2



More information about the U-Boot mailing list