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 /firmware/drivers/power.c | |
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
Diffstat (limited to 'firmware/drivers/power.c')
-rw-r--r-- | firmware/drivers/power.c | 4 |
1 files changed, 2 insertions, 2 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); |