summaryrefslogtreecommitdiffstats
path: root/firmware/rolo.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-03 21:50:48 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-03 21:50:48 +0000
commit1bc59454d5aab440da2018eb95e8a835db3ebc22 (patch)
tree1ef432a54e75cf7f864d8cceeeb64d71c7afe4d0 /firmware/rolo.c
parent056f608f7832e2aea633cb89be4b5b53cb6ebe5a (diff)
downloadrockbox-1bc59454d5aab440da2018eb95e8a835db3ebc22.tar.gz
rockbox-1bc59454d5aab440da2018eb95e8a835db3ebc22.tar.bz2
rockbox-1bc59454d5aab440da2018eb95e8a835db3ebc22.zip
rolo: make PP code pp6100-compatible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25798 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r--firmware/rolo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index 87e6958fca..0f398770e6 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -169,9 +169,8 @@ void rolo_restart(const unsigned char* source, unsigned char* dest,
#endif
asm volatile(
- "mov r0, %0 \n"
- "mov pc, r0 \n"
- : : "I"(DRAM_START)
+ "mov pc, %0 \n"
+ : : "r"(DRAM_START)
);
#elif defined(CPU_ARM)