The iriver bootloader now doesn't reboot after USB mode, it just continues booting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7196 a1c6a512-1295-4272-9138-f99709370657
diff --git a/bootloader/main.c b/bootloader/main.c
index fd8049e..63108f1 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -301,7 +301,12 @@
or_l(0x00020000, &GPIO1_OUT);
}
- system_reboot();
+ usb_enable(false);
+ ata_init(); /* Reinitialize ATA and continue booting */
+
+ lcd_clear_display();
+ line = 0;
+ lcd_update();
}
disk_init();