summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/start.S
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-06-28 05:39:38 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-07-17 11:24:35 +0200
commit22193540c174bd7140bc1af0021efedd8ab9da4a (patch)
tree8dc862db2823005c1f8b894e700b809bcde61da7 /arch/arm/cpu/armv7/start.S
parent7eb29398c0ff6ad431a333a4eb56d917acbc85c1 (diff)
downloadblackbird-obmc-uboot-22193540c174bd7140bc1af0021efedd8ab9da4a.tar.gz
blackbird-obmc-uboot-22193540c174bd7140bc1af0021efedd8ab9da4a.zip
ARM: add missing CONFIG_SKIP_LOWLEVEL_INIT for armv7
cpu_init_crit can be skipped, but the code is still enabled requiring a platform to supply lowlevel_init. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: Albert ARIBAUD <albert.aribaud@free.fr>
Diffstat (limited to 'arch/arm/cpu/armv7/start.S')
-rw-r--r--arch/arm/cpu/armv7/start.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S
index 0e698b624b..eee648bdc4 100644
--- a/arch/arm/cpu/armv7/start.S
+++ b/arch/arm/cpu/armv7/start.S
@@ -283,6 +283,7 @@ _rel_dyn_end_ofs:
_dynsym_start_ofs:
.word __dynsym_start - _start
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
/*************************************************************************
*
* CPU_init_critical registers
@@ -327,6 +328,7 @@ cpu_init_crit:
bl lowlevel_init @ go setup pll,mux,memory
mov lr, ip @ restore link
mov pc, lr @ back to my caller
+#endif
/*
*************************************************************************
*
OpenPOWER on IntegriCloud