]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
OMAP: spl: call timer_init() from SPL
authorIlya Yanok <ilya.yanok@cogentembedded.com>
Mon, 17 Sep 2012 10:26:26 +0000 (10:26 +0000)
committerTom Rini <trini@ti.com>
Mon, 1 Oct 2012 17:02:14 +0000 (10:02 -0700)
We need to initialize timer properly, otherwise all delays
inside SPL will be wrong.

Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
common/spl/spl.c

index c640f874040b9f118ca44e30c8f3936379cce6b2..29cbb9335a376fa4ad8329e2b2e57fd1842ee01f 100644 (file)
@@ -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