From 1446b210eb928607eb257c63d2c100fc15650d17 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 31 Jan 2006 09:40:21 +0000 Subject: Oops - fix red iPod bootloader build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8501 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/ipod.c | 1 + firmware/system.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bootloader/ipod.c b/bootloader/ipod.c index 4de6b61e62..97a4cebd69 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 1ef5fda290..bfd97104a1 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) -- cgit v1.2.3