1
0
Fork 0
forked from len0rd/rockbox

Reduced battery consumption on PP5002 targets (iPod 1st/2nd gen and 3rd gen). Now rockbox battery runtime is better than OF, verified on 2nd gen :-)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14218 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-08-06 17:26:28 +00:00
parent 77302644d0
commit 1fbcead9b3

View file

@ -146,6 +146,11 @@ void system_init(void)
MMAP3_LOGICAL = 0x20000000 | 0x3a00;
MMAP3_PHYSICAL = 0x00000000 | 0x3f84;
#if defined(IPOD_1G2G) || defined(IPOD_3G)
DEV_EN = 0x0b9f; /* don't clock unused PP5002 hardware components */
outl(0x0035, 0xcf005004); /* DEV_EN2 ? */
#endif
INT_FORCED_CLR = -1;
CPU_INT_CLR = -1;
COP_INT_CLR = -1;