forked from len0rd/rockbox
More iPod 3G changes from Seven Le Mesle, and some unification of the iPod code from me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e8048cefed
commit
d16a8b8845
10 changed files with 335 additions and 26 deletions
|
@ -66,10 +66,10 @@ struct mutex
|
|||
};
|
||||
|
||||
/* global tick variable */
|
||||
#if (CONFIG_CPU == PP5020) && defined(BOOTLOADER)
|
||||
#if ((CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)) && defined(BOOTLOADER)
|
||||
/* We don't enable interrupts in the iPod bootloader, so we need to fake
|
||||
the current_tick variable */
|
||||
#define current_tick ((*((volatile long*)0x60005010))/10000)
|
||||
#define current_tick (USEC_TIMER/10000)
|
||||
#else
|
||||
extern long current_tick;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue