diff options
author | Dave Chapman <dave@dchapman.com> | 2005-11-21 22:44:15 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-11-21 22:44:15 +0000 |
commit | d60aac9243144d44b642841d55b1b6fe7f27a540 (patch) | |
tree | 0777b1e589227be98970239446e7fb9f0d2f291b | |
parent | bccfae0a58515e489c3aa7f412154db56ae205d6 (diff) | |
download | rockbox-d60aac9243144d44b642841d55b1b6fe7f27a540.tar.gz rockbox-d60aac9243144d44b642841d55b1b6fe7f27a540.zip |
iPod: We are not going to implement ATA power-off control (Rockbox will still use the ATA hardware's power handling)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8031 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/power.c | 4 | ||||
-rw-r--r-- | firmware/export/config-ipodcolor.h | 3 | ||||
-rw-r--r-- | firmware/export/config-ipodnano.h | 3 |
3 files changed, 2 insertions, 8 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index 830270d08a..252a04d691 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c | |||
@@ -175,7 +175,7 @@ void ide_power_enable(bool on) | |||
175 | else | 175 | else |
176 | or_l(0x80000000, &GPIO_OUT); | 176 | or_l(0x80000000, &GPIO_OUT); |
177 | #elif CONFIG_CPU == PP5020 | 177 | #elif CONFIG_CPU == PP5020 |
178 | /* TODO: Implement ide_power_enable() */ | 178 | /* We do nothing on the iPod */ |
179 | #elif defined(GMINI_ARCH) | 179 | #elif defined(GMINI_ARCH) |
180 | if(on) | 180 | if(on) |
181 | P1 |= 0x08; | 181 | P1 |= 0x08; |
@@ -227,7 +227,7 @@ bool ide_powered(void) | |||
227 | #if CONFIG_CPU == MCF5249 | 227 | #if CONFIG_CPU == MCF5249 |
228 | return (GPIO_OUT & 0x80000000)?false:true; | 228 | return (GPIO_OUT & 0x80000000)?false:true; |
229 | #elif CONFIG_CPU == PP5020 | 229 | #elif CONFIG_CPU == PP5020 |
230 | /* TODO: Implement ide_powered() */ | 230 | /* pretend we are always powered - we don't turn it off on the ipod */ |
231 | return true; | 231 | return true; |
232 | #elif defined(GMINI_ARCH) | 232 | #elif defined(GMINI_ARCH) |
233 | return (P1 & 0x08?true:false); | 233 | return (P1 & 0x08?true:false); |
diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h index 2c51cc777a..0e1637d765 100644 --- a/firmware/export/config-ipodcolor.h +++ b/firmware/export/config-ipodcolor.h | |||
@@ -66,9 +66,6 @@ | |||
66 | /* Define this to the CPU frequency */ | 66 | /* Define this to the CPU frequency */ |
67 | #define CPU_FREQ 11289600 | 67 | #define CPU_FREQ 11289600 |
68 | 68 | ||
69 | /* Define this if you have ATA power-off control */ | ||
70 | #define HAVE_ATA_POWER_OFF | ||
71 | |||
72 | #define CONFIG_LCD LCD_IPODCOLOR | 69 | #define CONFIG_LCD LCD_IPODCOLOR |
73 | 70 | ||
74 | /* Offset ( in the firmware file's header ) to the file length */ | 71 | /* Offset ( in the firmware file's header ) to the file length */ |
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index 56928e3ff4..3423079be0 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h | |||
@@ -68,9 +68,6 @@ | |||
68 | /* Define this to the CPU frequency */ | 68 | /* Define this to the CPU frequency */ |
69 | #define CPU_FREQ 11289600 | 69 | #define CPU_FREQ 11289600 |
70 | 70 | ||
71 | /* Define this if you have ATA power-off control */ | ||
72 | #define HAVE_ATA_POWER_OFF | ||
73 | |||
74 | #define CONFIG_LCD LCD_IPODNANO | 71 | #define CONFIG_LCD LCD_IPODNANO |
75 | 72 | ||
76 | /* Offset ( in the firmware file's header ) to the file length */ | 73 | /* Offset ( in the firmware file's header ) to the file length */ |