
9 Mar
2016
9 Mar
'16
12:23 a.m.
On Tue, Mar 08, 2016 at 08:37:16PM +0900, Masahiro Yamada wrote:
We are generally supposed to implement SoC/board-specific SPL init code in spl_board_init(), but it is called after spl_init() where the FDT is setup and devices are bound.
This new stub spl_early_board_init() would be useful to put something really SoC-specific, for example, debug_uart_init().
In fact, I was hit by some problems on FDT setup when I was tackling on a completely new platform. I wished I could use the debug UART earlier in situations like that.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
This is usually done with s_init() and uniphier opts out of that. I would conceed however that things could use some further clean-up and organization here.
--
Tom