summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-11-21 22:44:15 +0000
committerDave Chapman <dave@dchapman.com>2005-11-21 22:44:15 +0000
commitd60aac9243144d44b642841d55b1b6fe7f27a540 (patch)
tree0777b1e589227be98970239446e7fb9f0d2f291b
parentbccfae0a58515e489c3aa7f412154db56ae205d6 (diff)
downloadrockbox-d60aac9243144d44b642841d55b1b6fe7f27a540.zip
rockbox-d60aac9243144d44b642841d55b1b6fe7f27a540.tar.gz
rockbox-d60aac9243144d44b642841d55b1b6fe7f27a540.tar.bz2
rockbox-d60aac9243144d44b642841d55b1b6fe7f27a540.tar.xz
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.c4
-rw-r--r--firmware/export/config-ipodcolor.h3
-rw-r--r--firmware/export/config-ipodnano.h3
3 files changed, 2 insertions, 8 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c
index 830270d..252a04d 100644
--- a/firmware/drivers/power.c
+++ b/firmware/drivers/power.c
@@ -175,7 +175,7 @@ void ide_power_enable(bool on)
else
or_l(0x80000000, &GPIO_OUT);
#elif CONFIG_CPU == PP5020
- /* TODO: Implement ide_power_enable() */
+ /* We do nothing on the iPod */
#elif defined(GMINI_ARCH)
if(on)
P1 |= 0x08;
@@ -227,7 +227,7 @@ bool ide_powered(void)
#if CONFIG_CPU == MCF5249
return (GPIO_OUT & 0x80000000)?false:true;
#elif CONFIG_CPU == PP5020
- /* TODO: Implement ide_powered() */
+ /* pretend we are always powered - we don't turn it off on the ipod */
return true;
#elif defined(GMINI_ARCH)
return (P1 & 0x08?true:false);
diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h
index 2c51cc7..0e1637d 100644
--- a/firmware/export/config-ipodcolor.h
+++ b/firmware/export/config-ipodcolor.h
@@ -66,9 +66,6 @@
/* Define this to the CPU frequency */
#define CPU_FREQ 11289600
-/* Define this if you have ATA power-off control */
-#define HAVE_ATA_POWER_OFF
-
#define CONFIG_LCD LCD_IPODCOLOR
/* 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 56928e3..3423079 100644
--- a/firmware/export/config-ipodnano.h
+++ b/firmware/export/config-ipodnano.h
@@ -68,9 +68,6 @@
/* Define this to the CPU frequency */
#define CPU_FREQ 11289600
-/* Define this if you have ATA power-off control */
-#define HAVE_ATA_POWER_OFF
-
#define CONFIG_LCD LCD_IPODNANO
/* Offset ( in the firmware file's header ) to the file length */