summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Riesch <[email protected]>2012-02-02 00:44:36 +0000
committerAlbert ARIBAUD <[email protected]>2012-02-12 10:11:32 +0100
commiteb93524224d269e4e4124429e91757cab4ee27e6 (patch)
tree161dba724a56e2797dc391a472ffb1f6cd940f86
parent9540c7e90023a99ad0a9233d08422cab3afbc64a (diff)
arm, davinci: Add lowlevel_init for SoCs other than DM644X
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 <[email protected]> Cc: Tom Rini <[email protected]> Cc: Sergey Kubushyn <[email protected]> Acked-by: Heiko Schocher <[email protected]> Tested-by: Heiko Schocher <[email protected]>
-rw-r--r--arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S b/arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S
index 7a169b10767..5b39484501c 100644
--- a/arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S
+++ b/arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S
@@ -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