From: Ilya Yanok Date: Mon, 17 Sep 2012 10:26:26 +0000 (+0000) Subject: OMAP: spl: call timer_init() from SPL X-Git-Tag: v2012.10-rc3~15^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4063c77deb26432e2f396ca5dfdb911a24140e96;p=pandora-u-boot.git 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 --- 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