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

