[U-Boot] [PATCH] arm: spl: Allow board_init_r() to run with a larger stack

Masahiro YAMADA yamada.m at jp.panasonic.com
Wed Jan 21 18:12:16 CET 2015


Hi Simon,



> Yes agreed. I can do that. It seems like the concept is agreed at least.
>
> So how about this:
>
> CONFIG_SPL_STACK_R - bool
> CONFIG_SPL_STACK_R _SIZE - hex


Do you need the size of stack?  Or the base address?



> But for your particular case, I certainly would like the UART to be
> available early in SPL. We are in the very early days of driver model
> for SPL. Once we get it merged (thanks to Tom's work this should be
> soon) we can look at how to get the UART available early. One hacky
> idea is to do the DM scan in board_init_f() in SPL, for serial only.
> But it can be done.


I think we can move the DM scan from board_init_r() to board_init_f().



-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list