OMAP SPL: Fix missing timer_init() call in OMAP4 s_init()
authorDechesne, Nicolas <n-dechesne@ti.com>
Tue, 31 Jan 2012 07:35:40 +0000 (07:35 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:23 +0000 (10:11 +0100)
In 8775471bb, the call to timer_init() was removed from common code
and put in OMAP3 s_init() function. As a result the boot was broken
on OMAP4. This patch adds timer_init() in OMAP4 s_init(), that fix
boot on all OMAP4 boards.

Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Tested-by: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap-common/hwinit-common.c

index 49cdc3936e6829a91b98d2c081b0a3bc1387fa85..ab46bff5af7ab32b62e9fbb243e0896737c2a1aa 100644 (file)
@@ -120,6 +120,8 @@ void s_init(void)
 #endif
        prcm_init();
 #ifdef CONFIG_SPL_BUILD
+       timer_init();
+
        /* For regular u-boot sdram_init() is called from dram_init() */
        sdram_init();
        init_boot_params();