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:
parent
8d13068421
commit
d83e929f3f
52 changed files with 737 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue