summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2012-08-10 12:05:16 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-10-04 14:19:07 +0200
commit63ee53a7e9f5ec38e6a8e485d2b5f0119ff1c6d1 (patch)
treef859c5b2c5e057b399dd0996884fd474e6175aad /arch/arm/cpu
parent0f20bb601f134540a3608a9da5a7b4155e477ece (diff)
downloadu-boot-imx-63ee53a7e9f5ec38e6a8e485d2b5f0119ff1c6d1.zip
u-boot-imx-63ee53a7e9f5ec38e6a8e485d2b5f0119ff1c6d1.tar.gz
u-boot-imx-63ee53a7e9f5ec38e6a8e485d2b5f0119ff1c6d1.tar.bz2
armv7 cpu_init_crit: Simplify code
We don't need to return to cpu_init_crit after calling lowlevel_init, so lowlevel_init can directly return to the caller of cpu_init_crit. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/start.S5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S
index f26308d..7df97c5 100644
--- a/arch/arm/cpu/armv7/start.S
+++ b/arch/arm/cpu/armv7/start.S
@@ -360,10 +360,7 @@ ENTRY(cpu_init_crit)
* basic memory. Go here to bump up clock rate and handle
* wake up conditions.
*/
- mov ip, lr @ persevere link reg across call
- bl lowlevel_init @ go setup pll,mux,memory
- mov lr, ip @ restore link
- mov pc, lr @ back to my caller
+ b lowlevel_init @ go setup pll,mux,memory
ENDPROC(cpu_init_crit)
#endif