summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-06-02 21:40:52 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-06-02 21:40:52 +0000
commit794220c116b85a68b84673e437c0939cc616ca9b (patch)
tree4b8dadfe90f133729e8f2721a058232f7a58d6b3 /firmware/drivers
parente2c93176f24c77c3f08c3d075a3a2066070d1689 (diff)
downloadrockbox-794220c116b85a68b84673e437c0939cc616ca9b.tar.gz
rockbox-794220c116b85a68b84673e437c0939cc616ca9b.zip
iRiver: The hard drive power is now OFF by default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6551 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/power.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c
index 66e479e1ce..57b82844bb 100644
--- a/firmware/drivers/power.c
+++ b/firmware/drivers/power.c
@@ -67,7 +67,9 @@ void power_init(void)
67 GPIO1_OUT |= 0x00080000; 67 GPIO1_OUT |= 0x00080000;
68 GPIO1_ENABLE |= 0x00080000; 68 GPIO1_ENABLE |= 0x00080000;
69 GPIO1_FUNCTION |= 0x00080000; 69 GPIO1_FUNCTION |= 0x00080000;
70 70
71 /* Hard drive power, default = off */
72 GPIO_OUT |= 0x80000000;
71 GPIO_ENABLE |= 0x80000000; 73 GPIO_ENABLE |= 0x80000000;
72 GPIO_FUNCTION |= 0x80000000; 74 GPIO_FUNCTION |= 0x80000000;
73#ifdef HAVE_SPDIF_POWER 75#ifdef HAVE_SPDIF_POWER