summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-11-01 23:41:10 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-11-01 23:41:10 +0000
commitfb126d4305c87e95d7079a37f48530bcb937633c (patch)
tree21e0354f8e6862c308c3ed93bdd928a654d21e4a
parentf64a3fe149830e54e75a9847337b08c73e827b2a (diff)
Sansa AMS : reduce size of interrupt source/isr mapping table
INT_GPIOB is not used INT_MCI0 and INT_GPIOA are only put in the table if needed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23481 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/as3525/system-as3525.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index 5f01ed2dee..c6469f9980 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -111,9 +111,12 @@ struct vec_int_src vec_int_srcs[] =
{ INT_SRC_TIMER2, INT_TIMER2 },
{ INT_SRC_DMAC, INT_DMAC },
{ INT_SRC_NAND, INT_NAND },
+#ifdef HAVE_MULTIDRIVE
{ INT_SRC_MCI0, INT_MCI0 },
+#endif
+#ifdef HAVE_HOTSWAP
{ INT_SRC_GPIOA, INT_GPIOA, },
- { INT_SRC_GPIOB, INT_GPIOB, },
+#endif
#ifdef HAVE_RECORDING
{ INT_SRC_I2SIN, INT_I2SIN, },
#endif