summaryrefslogtreecommitdiff
path: root/bootloader/ipod.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/ipod.c')
-rw-r--r--bootloader/ipod.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c
index 5b8c0ee217..b1722086e1 100644
--- a/bootloader/ipod.c
+++ b/bootloader/ipod.c
@@ -415,7 +415,16 @@ void* main(void)
415 lcd_puts(0, line++, "Rockbox loaded."); 415 lcd_puts(0, line++, "Rockbox loaded.");
416 lcd_update(); 416 lcd_update();
417 memcpy((void*)DRAM_START,loadbuffer,rc); 417 memcpy((void*)DRAM_START,loadbuffer,rc);
418 return (void*)DRAM_START; 418
419 /* Transfer execution directly to Rockbox - we don't want
420 to run the rest of the bootloader startup code. */
421 asm volatile(
422 "mov r0, #0x10000000 \n"
423 "mov pc, r0 \n"
424 );
425
426 /* We don't get here, but keep the compiler happy. */
427 return (void*)0;
419 } 428 }
420 } 429 }
421 430