target: arm: s5l8702: crt0.S: use APSR_nzcv instead of r15 in mrc operand

Change-Id: I7e0cf0325407cade9d95d73af6f8dceb92bf3155
This commit is contained in:
mojyack 2026-04-24 22:44:48 +09:00
parent c4abbdd718
commit b350d6e066

View file

@ -93,7 +93,7 @@ start_loc:
mcr p15, 0, r0, c1, c0, 0 /* disable caches and protection unit */
.cleancache:
mrc p15, 0, r15, c7, c10, 3 /* test and clean dcache */
mrc p15, 0, APSR_nzcv, c7, c10, 3 /* test and clean dcache */
bne .cleancache
mov r0, #0
mcr p15, 0, r0, c7, c10, 4 /* drain write buffer */