
21 Jan
2015
21 Jan
'15
6:12 p.m.
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