From: Benoît Thébaudeau Date: Fri, 10 Aug 2012 12:05:16 +0000 (+0000) Subject: armv7 cpu_init_crit: Simplify code X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=63ee53a7e9f5ec38e6a8e485d2b5f0119ff1c6d1;p=project%2Fbcm63xx%2Fu-boot.git 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 Cc: Albert Aribaud --- 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