summaryrefslogtreecommitdiff
path: root/bootloader/main.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-12-03 00:54:59 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-12-03 00:54:59 +0000
commitb68cb9b0526a232487262911f083f77c7c43b7e9 (patch)
tree55997882eff1947c37f6b7d1436e7fc61da98823 /bootloader/main.c
parent9d918c94b5df3468de5da8ebc1dee9d1fdaaf2a8 (diff)
downloadrockbox-b68cb9b0526a232487262911f083f77c7c43b7e9.tar.gz
rockbox-b68cb9b0526a232487262911f083f77c7c43b7e9.zip
H300 bootloader: don't turn on the HD too soon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8130 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/main.c')
-rw-r--r--bootloader/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootloader/main.c b/bootloader/main.c
index b0d25cc42f..7fa60f961a 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -220,11 +220,14 @@ void main(void)
220#endif 220#endif
221#endif 221#endif
222 222
223 /* Power on the hard drive early, to speed up the loading */ 223 /* Power on the hard drive early, to speed up the loading.
224 Some H300 don't like this, so we only do it for the H100 */
225#ifndef IRIVER_H300_SERIES
224 if(!((on_button && button_hold()) || 226 if(!((on_button && button_hold()) ||
225 (rc_on_button && remote_button_hold()))) { 227 (rc_on_button && remote_button_hold()))) {
226 ide_power_enable(true); 228 ide_power_enable(true);
227 } 229 }
230#endif
228 231
229 system_init(); 232 system_init();
230 kernel_init(); 233 kernel_init();