mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
OMAP SPL: call timer_init in s_init to make udelay work earlier
Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
This commit is contained in:
parent
0b620ec97e
commit
8775471bb3
2 changed files with 2 additions and 2 deletions
|
@ -115,8 +115,6 @@ void board_init_r(gd_t *id, ulong dummy)
|
|||
mem_malloc_init(CONFIG_SYS_SPL_MALLOC_START,
|
||||
CONFIG_SYS_SPL_MALLOC_SIZE);
|
||||
|
||||
timer_init();
|
||||
|
||||
#ifdef CONFIG_SPL_BOARD_INIT
|
||||
spl_board_init();
|
||||
#endif
|
||||
|
|
|
@ -230,6 +230,8 @@ void s_init(void)
|
|||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
preloader_console_init();
|
||||
|
||||
timer_init();
|
||||
#endif
|
||||
|
||||
if (!in_sdram)
|
||||
|
|
Loading…
Reference in a new issue