diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-08-10 12:05:16 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-04 14:19:07 +0200 |
commit | 63ee53a7e9f5ec38e6a8e485d2b5f0119ff1c6d1 (patch) | |
tree | f859c5b2c5e057b399dd0996884fd474e6175aad | |
parent | 0f20bb601f134540a3608a9da5a7b4155e477ece (diff) | |
download | u-boot-63ee53a7e9f5ec38e6a8e485d2b5f0119ff1c6d1.tar.gz u-boot-63ee53a7e9f5ec38e6a8e485d2b5f0119ff1c6d1.tar.xz u-boot-63ee53a7e9f5ec38e6a8e485d2b5f0119ff1c6d1.zip |
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>
-rw-r--r-- | arch/arm/cpu/armv7/start.S | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S index f26308df16..7df97c5a3a 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 |