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, 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)
425 lcd_puts(0, line++, "Rockbox loaded."); 425 lcd_puts(0, line++, "Rockbox loaded.");
426 lcd_update(); 426 lcd_update();
427 memcpy((void*)DRAM_START,loadbuffer,rc); 427 memcpy((void*)DRAM_START,loadbuffer,rc);
428 428 return (void*)DRAM_START;
429 /* Transfer execution directly to Rockbox - we don't want
430 to run the rest of the bootloader startup code. */
431 asm volatile(
432 "mov r0, #" SC(DRAM_START) "\n"
433 "mov pc, r0 \n"
434 );
435
436 /* We don't get here, but keep the compiler happy. */
437 return (void*)0;
438 } 429 }
439 } 430 }
440 431