From 1cae074668603fd9a27e0b428bbe4823bdaab74a Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 4 Jun 2005 23:42:02 +0000 Subject: HD power must not default to off in rockbox itself, only in the bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6569 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/power.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) GPIO1_ENABLE |= 0x00080000; GPIO1_FUNCTION |= 0x00080000; - /* Hard drive power, default = off */ +#ifdef BOOTLOADER + /* Hard drive power default = off in bootloader*/ GPIO_OUT |= 0x80000000; +#endif GPIO_ENABLE |= 0x80000000; GPIO_FUNCTION |= 0x80000000; #ifdef HAVE_SPDIF_POWER -- cgit v1.2.3