[PATCH 1/2] riscv: allow to enable SHOW_REGS in main U-Boot only

Leo Liang ycliang at andestech.com
Tue Aug 13 05:26:08 CEST 2024


On Sun, Aug 11, 2024 at 01:01:03PM +0200, Heinrich Schuchardt wrote:
> [EXTERNAL MAIL]
> 
> 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.
> * Add a help text.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  arch/riscv/Kconfig          | 12 ++++++++++++
>  arch/riscv/lib/interrupts.c |  7 +++----
>  2 files changed, 15 insertions(+), 4 deletions(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list