mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-06 03:20:41 +09:00
OMAP: spl: call timer_init() from SPL
We need to initialize timer properly, otherwise all delays inside SPL will be wrong. Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
This commit is contained in:
parent
9ace17c88a
commit
4063c77deb
@ -155,6 +155,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
|
|||||||
CONFIG_SYS_SPL_MALLOC_SIZE);
|
CONFIG_SYS_SPL_MALLOC_SIZE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
timer_init();
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_BOARD_INIT
|
#ifdef CONFIG_SPL_BOARD_INIT
|
||||||
spl_board_init();
|
spl_board_init();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user