diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/power.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index 57b82844bb..026be599ae 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c | |||
@@ -68,8 +68,10 @@ void power_init(void) | |||
68 | GPIO1_ENABLE |= 0x00080000; | 68 | GPIO1_ENABLE |= 0x00080000; |
69 | GPIO1_FUNCTION |= 0x00080000; | 69 | GPIO1_FUNCTION |= 0x00080000; |
70 | 70 | ||
71 | /* Hard drive power, default = off */ | 71 | #ifdef BOOTLOADER |
72 | /* Hard drive power default = off in bootloader*/ | ||
72 | GPIO_OUT |= 0x80000000; | 73 | GPIO_OUT |= 0x80000000; |
74 | #endif | ||
73 | GPIO_ENABLE |= 0x80000000; | 75 | GPIO_ENABLE |= 0x80000000; |
74 | GPIO_FUNCTION |= 0x80000000; | 76 | GPIO_FUNCTION |= 0x80000000; |
75 | #ifdef HAVE_SPDIF_POWER | 77 | #ifdef HAVE_SPDIF_POWER |