Skip to content
Snippets Groups Projects
Commit a4d72869 authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Tom Rini
Browse files

omap: detect board before spl_early_init()


In order to be able to select the right DTB, we need to have identified the
board before spl_early_init() is called.

Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 2f57c951
No related branches found
No related tags found
No related merge requests found
......@@ -165,9 +165,11 @@ void early_system_init(void)
* to prevent overwrites.
*/
save_omap_boot_params();
spl_early_init();
#endif
do_board_detect();
#ifdef CONFIG_SPL_BUILD
spl_early_init();
#endif
vcores_init();
#ifdef CONFIG_DEBUG_UART_OMAP
debug_uart_init();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment