summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/rolo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index 87e6958..0f39877 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)