summaryrefslogtreecommitdiff
path: root/cpu/arm926ejs
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2008-01-19 21:09:35 +0000
committerPeter Pearse <peter.pearse@arm.com>2008-02-14 09:37:56 +0000
commita6cdd21b56014208706238712a853a9e9a0a2290 (patch)
treee47f6f06bfb4c03ab6bc04c091e40053970f9037 /cpu/arm926ejs
parentfe891ecf4d187e9d11dde869ed4623af52b54451 (diff)
downloadu-boot-imx-a6cdd21b56014208706238712a853a9e9a0a2290.zip
u-boot-imx-a6cdd21b56014208706238712a853a9e9a0a2290.tar.gz
u-boot-imx-a6cdd21b56014208706238712a853a9e9a0a2290.tar.bz2
Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on
Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on. cpu/arm926ejs/start.o: In function `cpu_init_crit': .../cpu/arm926ejs/start.S:227: undefined reference to `lowlevel_init' Signed-off-by: Stelian Pop <stelian@popies.net>
Diffstat (limited to 'cpu/arm926ejs')
-rw-r--r--cpu/arm926ejs/start.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu/arm926ejs/start.S b/cpu/arm926ejs/start.S
index 725c663..aa09fbf 100644
--- a/cpu/arm926ejs/start.S
+++ b/cpu/arm926ejs/start.S
@@ -198,8 +198,7 @@ _start_armboot:
*
*************************************************************************
*/
-
-
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
cpu_init_crit:
/*
* flush v4 I/D caches
@@ -225,6 +224,8 @@ cpu_init_crit:
bl lowlevel_init /* go setup pll,mux,memory */
mov lr, ip /* restore link */
mov pc, lr /* back to my caller */
+#endif /* CONFIG_SKIP_LOWLEVEL_INIT */
+
/*
*************************************************************************
*