summaryrefslogtreecommitdiff
path: root/firmware/drivers/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/power.c')
-rw-r--r--firmware/drivers/power.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c
index b87aa79e0a..7d45021cab 100644
--- a/firmware/drivers/power.c
+++ b/firmware/drivers/power.c
@@ -64,9 +64,9 @@ void power_init(void)
64 or_l(0x00080000, &GPIO1_ENABLE); 64 or_l(0x00080000, &GPIO1_ENABLE);
65 or_l(0x00080000, &GPIO1_FUNCTION); 65 or_l(0x00080000, &GPIO1_FUNCTION);
66 66
67#ifdef BOOTLOADER 67#ifndef BOOTLOADER
68 /* Hard drive power default = off in bootloader*/ 68 /* The boot loader controls the power */
69 or_l(0x80000000, &GPIO_OUT); 69 ide_power_enable(true);
70#endif 70#endif
71 or_l(0x80000000, &GPIO_ENABLE); 71 or_l(0x80000000, &GPIO_ENABLE);
72 or_l(0x80000000, &GPIO_FUNCTION); 72 or_l(0x80000000, &GPIO_FUNCTION);