diff options
| -rw-r--r-- | bootloader/ipod.c | 1 | ||||
| -rw-r--r-- | firmware/system.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c index 4de6b61..97a4ceb 100644 --- a/bootloader/ipod.c +++ b/bootloader/ipod.c @@ -340,6 +340,7 @@ void* main(void) #endif TMP_IPOD_HW_REVISION = IPOD_HW_REVISION; + ipod_hw_rev = IPOD_HW_REVISION; system_init(); kernel_init(); diff --git a/firmware/system.c b/firmware/system.c index 1ef5fda..bfd9710 100644 --- a/firmware/system.c +++ b/firmware/system.c @@ -1136,12 +1136,12 @@ void UIE(unsigned int pc, unsigned int num) #if CONFIG_CPU==PP5020 +unsigned int ipod_hw_rev; + #ifndef BOOTLOADER extern void TIMER1(void); extern void ipod_4g_button_int(void); -unsigned int ipod_hw_rev; - void irq(void) { if (CPU_INT_STAT & TIMER1_MASK) |