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
This commit is contained in:
parent
bccfae0a58
commit
d60aac9243
3 changed files with 2 additions and 8 deletions
|
@ -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);
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue