mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
bootloader: ipodnano2g: fix mcr/mrc usage for clang
Change-Id: I0e328c2d0d4243783cbede843a6451c45f5ba914
This commit is contained in:
parent
6fc41c7cdf
commit
127428e32d
1 changed files with 4 additions and 4 deletions
|
|
@ -263,10 +263,10 @@ void main(void)
|
|||
|
||||
/* Disable caches and protection unit */
|
||||
asm volatile(
|
||||
"mrc 15, 0, r0, c1, c0, 0 \n"
|
||||
"bic r0, r0, #0x1000 \n"
|
||||
"bic r0, r0, #0x5 \n"
|
||||
"mcr 15, 0, r0, c1, c0, 0 \n"
|
||||
"mrc p15, 0, r0, c1, c0, 0 \n"
|
||||
"bic r0, r0, #0x1000 \n"
|
||||
"bic r0, r0, #0x5 \n"
|
||||
"mcr p15, 0, r0, c1, c0, 0 \n"
|
||||
);
|
||||
|
||||
/* Branch to start of DRAM */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue