summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-01-31 09:40:21 +0000
committerDave Chapman <dave@dchapman.com>2006-01-31 09:40:21 +0000
commit1446b210eb928607eb257c63d2c100fc15650d17 (patch)
tree6de3a58fa3ff397084fc4ea6e5af8015e7574378
parent8cd8a950d2c32c096a6517a717fd01899786531f (diff)
downloadrockbox-1446b210eb928607eb257c63d2c100fc15650d17.zip
rockbox-1446b210eb928607eb257c63d2c100fc15650d17.tar.gz
rockbox-1446b210eb928607eb257c63d2c100fc15650d17.tar.bz2
rockbox-1446b210eb928607eb257c63d2c100fc15650d17.tar.xz
Oops - fix red iPod bootloader build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8501 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--bootloader/ipod.c1
-rw-r--r--firmware/system.c4
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)