1
0
Fork 0
forked from len0rd/rockbox

Work-in-progress iriver iFP-7xx port by Tomasz Malesinski

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2006-01-12 00:35:50 +00:00
parent 8d13068421
commit d83e929f3f
52 changed files with 737 additions and 18 deletions

View file

@ -182,6 +182,8 @@ void ide_power_enable(bool on)
P1 |= 0x08;
else
P1 &= ~0x08;
#elif CONFIG_CPU == PNX0101
/* no ide controller */
#else /* SH1 based archos */
bool touched = false;
#ifdef NEEDS_ATA_POWER_ON
@ -266,6 +268,9 @@ void power_off(void)
/* We don't turn off the ipod, we put it in a deep sleep */
pcf50605_standby_mode();
#endif
#elif CONFIG_CPU == PNX0101
GPIO1_CLR = 1 << 16;
GPIO2_SET = 1;
#elif defined(GMINI_ARCH)
P1 &= ~1;
P1CON &= ~1;