mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
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>
This commit is contained in:
parent
0f20bb601f
commit
63ee53a7e9
@ -360,10 +360,7 @@ ENTRY(cpu_init_crit)
|
|||||||
* basic memory. Go here to bump up clock rate and handle
|
* basic memory. Go here to bump up clock rate and handle
|
||||||
* wake up conditions.
|
* wake up conditions.
|
||||||
*/
|
*/
|
||||||
mov ip, lr @ persevere link reg across call
|
b lowlevel_init @ go setup pll,mux,memory
|
||||||
bl lowlevel_init @ go setup pll,mux,memory
|
|
||||||
mov lr, ip @ restore link
|
|
||||||
mov pc, lr @ back to my caller
|
|
||||||
ENDPROC(cpu_init_crit)
|
ENDPROC(cpu_init_crit)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user