summaryrefslogtreecommitdiff
path: root/firmware/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/system.c')
-rw-r--r--firmware/system.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/system.c b/firmware/system.c
index 102ace6273..a5fae26bc5 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -585,7 +585,7 @@ void UIE(unsigned int pc, unsigned int num)
585 } 585 }
586} 586}
587 587
588#if CONFIG_CPU==PP5020 588#if CONFIG_CPU==PP5020 || CONFIG_CPU==PP5024
589 589
590unsigned int ipod_hw_rev; 590unsigned int ipod_hw_rev;
591 591
@@ -605,9 +605,11 @@ void irq(void)
605 else if (CPU_HI_INT_STAT & GPIO_MASK) 605 else if (CPU_HI_INT_STAT & GPIO_MASK)
606 ipod_mini_button_int(); 606 ipod_mini_button_int();
607} 607}
608#elif (defined IRIVER_H10) || (defined IRIVER_H10_5GB) || defined(ELIO_TPJ1022) 608#elif (defined IRIVER_H10) || (defined IRIVER_H10_5GB) || defined(ELIO_TPJ1022) \
609 || (defined SANSA_E200)
609/* TODO: this should really be in the target tree, but moving it there caused 610/* TODO: this should really be in the target tree, but moving it there caused
610 crt0.S not to find it while linking */ 611 crt0.S not to find it while linking */
612/* TODO: Even if it isn't in the target tree, this should be the default case */
611void irq(void) 613void irq(void)
612{ 614{
613 if (CPU_INT_STAT & TIMER1_MASK) 615 if (CPU_INT_STAT & TIMER1_MASK)