diff options
author | Ilya Yanok <ilya.yanok@cogentembedded.com> | 2012-09-17 10:26:26 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-01 10:02:14 -0700 |
commit | 4063c77deb26432e2f396ca5dfdb911a24140e96 (patch) | |
tree | f1ba91d1f53dbf29b098188041f401639dbeb39b /common/spl | |
parent | 9ace17c88ae8bd5f29fb44849f6855b8bd456869 (diff) |
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>
Diffstat (limited to 'common/spl')
-rw-r--r-- | common/spl/spl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index c640f874040..29cbb9335a3 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -155,6 +155,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2) CONFIG_SYS_SPL_MALLOC_SIZE); #endif + timer_init(); + #ifdef CONFIG_SPL_BOARD_INIT spl_board_init(); #endif |