summaryrefslogtreecommitdiff
path: root/firmware/system.c
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2006-11-22 00:49:16 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2006-11-22 00:49:16 +0000
commit43e2c01065df95bac37e2efd15d61c86b736e1c0 (patch)
tree29683fdac7b6d11fd8d57f56c585707a8ed1e241 /firmware/system.c
parent242cbd5cd73542c79020a4ce9a8e83ee0391bc72 (diff)
downloadrockbox-43e2c01065df95bac37e2efd15d61c86b736e1c0.tar.gz
rockbox-43e2c01065df95bac37e2efd15d61c86b736e1c0.zip
Sansa doesn't use a Wolfson codec. Various other changes to allow Sansa to compile correctly with a normal build. Based on FS#6336 by Pavel Gnelitsa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11570 a1c6a512-1295-4272-9138-f99709370657
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)