forked from len0rd/rockbox
iPod: Fix the bootloader so it can load and run the original Apple firmware again. The Rockbox firmware was doing too much to the hardware so we remove most of the initialisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8301 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5a313efa0c
commit
cb7e695ef9
9 changed files with 45 additions and 10 deletions
|
|
@ -66,7 +66,13 @@ struct mutex
|
|||
};
|
||||
|
||||
/* global tick variable */
|
||||
#if (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)
|
||||
#else
|
||||
extern long current_tick;
|
||||
#endif
|
||||
|
||||
#ifdef SIMULATOR
|
||||
#define sleep(x) sim_sleep(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue