]> git.sur5r.net Git - u-boot/commitdiff
arm, davinci: Add lowlevel_init for SoCs other than DM644X
authorChristian Riesch <christian.riesch@omicron.at>
Thu, 2 Feb 2012 00:44:36 +0000 (00:44 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:32 +0000 (10:11 +0100)
The low level initialization code in
arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S was written for
DM644X SoCs only. This patch makes the lowlevel_init function in this
file a dummy function for SoCs other than DM644X.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Tom Rini <trini@ti.com>
Cc: Sergey Kubushyn <ksi@koi8.net>
Acked-by: Heiko Schocher <hs@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S

index 7a169b107677e58edc59fc2f4ef81ea3417ab7a8..5b39484501c1d8805931c42c1fa9f93bda40e7f6 100644 (file)
@@ -49,6 +49,7 @@
 
 .globl lowlevel_init
 lowlevel_init:
+#ifdef CONFIG_SOC_DM644X
 
        /*-------------------------------------------------------*
         * Mask all IRQs by setting all bits in the EINT default *
@@ -707,3 +708,6 @@ DDR2_START_ADDR:
        .word   0x80000000
 DUMMY_VAL:
        .word   0xa55aa55a
+#else /* CONFIG_SOC_DM644X */
+       mov pc, lr
+#endif