summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/ipod.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c
index 98ff4848bb..26e5ae2937 100644
--- a/bootloader/ipod.c
+++ b/bootloader/ipod.c
@@ -425,16 +425,7 @@ void* main(void)
lcd_puts(0, line++, "Rockbox loaded.");
lcd_update();
memcpy((void*)DRAM_START,loadbuffer,rc);
-
- /* Transfer execution directly to Rockbox - we don't want
- to run the rest of the bootloader startup code. */
- asm volatile(
- "mov r0, #" SC(DRAM_START) "\n"
- "mov pc, r0 \n"
- );
-
- /* We don't get here, but keep the compiler happy. */
- return (void*)0;
+ return (void*)DRAM_START;
}
}