Skip to content
Snippets Groups Projects
Commit 8775471b authored by Andreas Müller's avatar Andreas Müller Committed by Albert ARIBAUD
Browse files

OMAP SPL: call timer_init in s_init to make udelay work earlier

parent 0b620ec9
No related branches found
No related tags found
No related merge requests found
...@@ -115,8 +115,6 @@ void board_init_r(gd_t *id, ulong dummy) ...@@ -115,8 +115,6 @@ void board_init_r(gd_t *id, ulong dummy)
mem_malloc_init(CONFIG_SYS_SPL_MALLOC_START, mem_malloc_init(CONFIG_SYS_SPL_MALLOC_START,
CONFIG_SYS_SPL_MALLOC_SIZE); CONFIG_SYS_SPL_MALLOC_SIZE);
timer_init();
#ifdef CONFIG_SPL_BOARD_INIT #ifdef CONFIG_SPL_BOARD_INIT
spl_board_init(); spl_board_init();
#endif #endif
......
...@@ -230,6 +230,8 @@ void s_init(void) ...@@ -230,6 +230,8 @@ void s_init(void)
#ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_BUILD
preloader_console_init(); preloader_console_init();
timer_init();
#endif #endif
if (!in_sdram) if (!in_sdram)
......
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