diff options
author | Dave Chapman <dave@dchapman.com> | 2006-01-31 09:40:21 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-01-31 09:40:21 +0000 |
commit | 1446b210eb928607eb257c63d2c100fc15650d17 (patch) | |
tree | 6de3a58fa3ff397084fc4ea6e5af8015e7574378 | |
parent | 8cd8a950d2c32c096a6517a717fd01899786531f (diff) | |
download | rockbox-1446b210eb928607eb257c63d2c100fc15650d17.tar.gz rockbox-1446b210eb928607eb257c63d2c100fc15650d17.zip |
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.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 4de6b61e62..97a4cebd69 100644 --- a/bootloader/ipod.c +++ b/bootloader/ipod.c | |||
@@ -340,6 +340,7 @@ void* main(void) | |||
340 | #endif | 340 | #endif |
341 | 341 | ||
342 | TMP_IPOD_HW_REVISION = IPOD_HW_REVISION; | 342 | TMP_IPOD_HW_REVISION = IPOD_HW_REVISION; |
343 | ipod_hw_rev = IPOD_HW_REVISION; | ||
343 | 344 | ||
344 | system_init(); | 345 | system_init(); |
345 | kernel_init(); | 346 | 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) | |||
1136 | 1136 | ||
1137 | #if CONFIG_CPU==PP5020 | 1137 | #if CONFIG_CPU==PP5020 |
1138 | 1138 | ||
1139 | unsigned int ipod_hw_rev; | ||
1140 | |||
1139 | #ifndef BOOTLOADER | 1141 | #ifndef BOOTLOADER |
1140 | extern void TIMER1(void); | 1142 | extern void TIMER1(void); |
1141 | extern void ipod_4g_button_int(void); | 1143 | extern void ipod_4g_button_int(void); |
1142 | 1144 | ||
1143 | unsigned int ipod_hw_rev; | ||
1144 | |||
1145 | void irq(void) | 1145 | void irq(void) |
1146 | { | 1146 | { |
1147 | if (CPU_INT_STAT & TIMER1_MASK) | 1147 | if (CPU_INT_STAT & TIMER1_MASK) |