arch/arm: Call arm_lowputc after SP setup

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-04-01 18:13:07 +08:00 committed by David Sidrane
parent c336a792b2
commit d1e06b4c09

View File

@ -61,13 +61,13 @@ __start:
mov r0, #(SVC_MODE | PSR_I_BIT | PSR_F_BIT )
msr cpsr, r0
showprogress 'A'
/* Setup system stack (and get the BSS range) */
adr r0, .Lbssinit
ldmia r0, {r4, r5, sp}
showprogress 'A'
/* Clear system BSS section */
mov r0, #0