diff options
author | Tomasz Malesinski <tomal@rockbox.org> | 2006-11-09 22:58:35 +0000 |
---|---|---|
committer | Tomasz Malesinski <tomal@rockbox.org> | 2006-11-09 22:58:35 +0000 |
commit | 6e992abf36b1719cba18c9f4d519a02b187c8bca (patch) | |
tree | c7a02d2f1182990bb1df8d11fc4d4967e3695340 /firmware/drivers/power.c | |
parent | fedfd44825a1880019706a2b71241216350e3590 (diff) |
Target tree support for Iriver iFP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11485 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/power.c')
-rw-r--r-- | firmware/drivers/power.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index e48993c2aa..e0a5de4bfb 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c @@ -144,8 +144,6 @@ void ide_power_enable(bool on) P1 |= 0x08; else P1 &= ~0x08; -#elif CONFIG_CPU == PNX0101 - /* no ide controller */ #elif defined(TOSHIBA_GIGABEAT_F) /* Gigabeat TODO */ #else /* SH1 based archos */ @@ -222,10 +220,7 @@ bool ide_powered(void) void power_off(void) { set_irq_level(HIGHEST_IRQ_LEVEL); -#if CONFIG_CPU == PNX0101 - GPIO1_CLR = 1 << 16; - GPIO2_SET = 1; -#elif defined(GMINI_ARCH) +#if defined(GMINI_ARCH) P1 &= ~1; P1CON &= ~1; #elif defined(TOSHIBA_GIGABEAT_F) |