From d60aac9243144d44b642841d55b1b6fe7f27a540 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Mon, 21 Nov 2005 22:44:15 +0000 Subject: [PATCH] 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 --- firmware/drivers/power.c | 4 ++-- firmware/export/config-ipodcolor.h | 3 --- 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) 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 2c51cc777a..0e1637d765 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 56928e3ff4..3423079be0 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 */