mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
target: arm: s5l8702: crt0.S: use APSR_nzcv instead of r15 in mrc operand
Change-Id: I7e0cf0325407cade9d95d73af6f8dceb92bf3155
This commit is contained in:
parent
c4abbdd718
commit
b350d6e066
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue