summaryrefslogtreecommitdiffstats
path: root/bootloader
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
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')
-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)
#endif
#endif
- /* Power on the hard drive early, to speed up the loading */
+ /* Power on the hard drive early, to speed up the loading.
+ Some H300 don't like this, so we only do it for the H100 */
+#ifndef IRIVER_H300_SERIES
if(!((on_button && button_hold()) ||
(rc_on_button && remote_button_hold()))) {
ide_power_enable(true);
}
+#endif
system_init();
kernel_init();