summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-07-19 11:03:00 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-07-19 11:03:00 +0000
commit131039034848b0608751b6c560886a133b2ac862 (patch)
tree87b2ad12c4e35a9027a6d5b727a897cff5db2272 /bootloader
parentb0e056b5aeaac668312cbf67ee9c9d1713704b05 (diff)
downloadrockbox-131039034848b0608751b6c560886a133b2ac862.tar.gz
rockbox-131039034848b0608751b6c560886a133b2ac862.tar.bz2
rockbox-131039034848b0608751b6c560886a133b2ac862.zip
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
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bootloader/main.c b/bootloader/main.c
index fd8049e5e6..63108f14dc 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -301,7 +301,12 @@ void main(void)
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();