summaryrefslogtreecommitdiffstats
path: root/common/spl
diff options
context:
space:
mode:
authorIlya Yanok <ilya.yanok@cogentembedded.com>2012-09-17 10:26:26 +0000
committerTom Rini <trini@ti.com>2012-10-01 10:02:14 -0700
commit4063c77deb26432e2f396ca5dfdb911a24140e96 (patch)
treef1ba91d1f53dbf29b098188041f401639dbeb39b /common/spl
parent9ace17c88ae8bd5f29fb44849f6855b8bd456869 (diff)
downloadtalos-obmc-uboot-4063c77deb26432e2f396ca5dfdb911a24140e96.tar.gz
talos-obmc-uboot-4063c77deb26432e2f396ca5dfdb911a24140e96.zip
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index c640f87404..29cbb9335a 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
OpenPOWER on IntegriCloud