From: Benoît Thébaudeau Date: Fri, 10 Aug 2012 12:05:16 +0000 (+0000) Subject: armv7 cpu_init_crit: Simplify code X-Git-Tag: v2012.10-rc3~15^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=63ee53a7;p=u-boot 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