diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2009-12-24 23:18:33 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-01 18:40:49 -0500 |
commit | 00dd8027b913088ff9b656c5aaa6336c303b7f26 (patch) | |
tree | 21953fb8396a002ae0be94d08613019fd6538f9a /arch/arm/mach-pxa/include | |
parent | da8065ac3ea29d1bfdb5a163be346fbe35066f8d (diff) |
[ARM] locomo: remove unused IRQs and avoid unnecessary cascade
IRQ_LOCOMO_* are never used elsewhere, remove these definitions. As well
as the cascade of these IRQs. IRQ_LOCOMO_*_BASE changed to IRQ_LOCOMO_*.
IRQ_LOCOMO_LT and IRQ_LOCOMO_SPI are likely to be used in a same way as
IRQ_LOCOMO_KEY.
IRQ_LOCOMO_GPIO and the demultiplex handler should really be living
somewhere else.
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/irqs.h | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/arch/arm/mach-pxa/include/mach/irqs.h b/arch/arm/mach-pxa/include/mach/irqs.h index 33a4f33de271..56a2c6131a7c 100644 --- a/arch/arm/mach-pxa/include/mach/irqs.h +++ b/arch/arm/mach-pxa/include/mach/irqs.h | |||
@@ -187,29 +187,6 @@ | |||
187 | #define IRQ_S0_BVD1_STSCHG (IRQ_BOARD_END + 53) | 187 | #define IRQ_S0_BVD1_STSCHG (IRQ_BOARD_END + 53) |
188 | #define IRQ_S1_BVD1_STSCHG (IRQ_BOARD_END + 54) | 188 | #define IRQ_S1_BVD1_STSCHG (IRQ_BOARD_END + 54) |
189 | 189 | ||
190 | #define IRQ_LOCOMO_START (IRQ_BOARD_END) | ||
191 | #define IRQ_LOCOMO_GPIO0 (IRQ_BOARD_END + 1) | ||
192 | #define IRQ_LOCOMO_GPIO1 (IRQ_BOARD_END + 2) | ||
193 | #define IRQ_LOCOMO_GPIO2 (IRQ_BOARD_END + 3) | ||
194 | #define IRQ_LOCOMO_GPIO3 (IRQ_BOARD_END + 4) | ||
195 | #define IRQ_LOCOMO_GPIO4 (IRQ_BOARD_END + 5) | ||
196 | #define IRQ_LOCOMO_GPIO5 (IRQ_BOARD_END + 6) | ||
197 | #define IRQ_LOCOMO_GPIO6 (IRQ_BOARD_END + 7) | ||
198 | #define IRQ_LOCOMO_GPIO7 (IRQ_BOARD_END + 8) | ||
199 | #define IRQ_LOCOMO_GPIO8 (IRQ_BOARD_END + 9) | ||
200 | #define IRQ_LOCOMO_GPIO9 (IRQ_BOARD_END + 10) | ||
201 | #define IRQ_LOCOMO_GPIO10 (IRQ_BOARD_END + 11) | ||
202 | #define IRQ_LOCOMO_GPIO11 (IRQ_BOARD_END + 12) | ||
203 | #define IRQ_LOCOMO_GPIO12 (IRQ_BOARD_END + 13) | ||
204 | #define IRQ_LOCOMO_GPIO13 (IRQ_BOARD_END + 14) | ||
205 | #define IRQ_LOCOMO_GPIO14 (IRQ_BOARD_END + 15) | ||
206 | #define IRQ_LOCOMO_GPIO15 (IRQ_BOARD_END + 16) | ||
207 | #define IRQ_LOCOMO_LT (IRQ_BOARD_END + 17) | ||
208 | #define IRQ_LOCOMO_SPI_RFR (IRQ_BOARD_END + 18) | ||
209 | #define IRQ_LOCOMO_SPI_RFW (IRQ_BOARD_END + 19) | ||
210 | #define IRQ_LOCOMO_SPI_OVRN (IRQ_BOARD_END + 20) | ||
211 | #define IRQ_LOCOMO_SPI_TEND (IRQ_BOARD_END + 21) | ||
212 | |||
213 | /* | 190 | /* |
214 | * Figure out the MAX IRQ number. | 191 | * Figure out the MAX IRQ number. |
215 | * | 192 | * |
@@ -219,8 +196,6 @@ | |||
219 | */ | 196 | */ |
220 | #ifdef CONFIG_SA1111 | 197 | #ifdef CONFIG_SA1111 |
221 | #define NR_IRQS (IRQ_S1_BVD1_STSCHG + 1) | 198 | #define NR_IRQS (IRQ_S1_BVD1_STSCHG + 1) |
222 | #elif defined(CONFIG_SHARP_LOCOMO) | ||
223 | #define NR_IRQS (IRQ_LOCOMO_SPI_TEND + 1) | ||
224 | #elif defined(CONFIG_PXA_HAVE_BOARD_IRQS) | 199 | #elif defined(CONFIG_PXA_HAVE_BOARD_IRQS) |
225 | #define NR_IRQS (IRQ_BOARD_END) | 200 | #define NR_IRQS (IRQ_BOARD_END) |
226 | #else | 201 | #else |
@@ -274,9 +249,9 @@ | |||
274 | 249 | ||
275 | /* LoCoMo Interrupts (CONFIG_SHARP_LOCOMO) */ | 250 | /* LoCoMo Interrupts (CONFIG_SHARP_LOCOMO) */ |
276 | #define IRQ_LOCOMO_KEY (IRQ_BOARD_START + 0) | 251 | #define IRQ_LOCOMO_KEY (IRQ_BOARD_START + 0) |
277 | #define IRQ_LOCOMO_GPIO_BASE (IRQ_BOARD_START + 1) | 252 | #define IRQ_LOCOMO_GPIO (IRQ_BOARD_START + 1) |
278 | #define IRQ_LOCOMO_LT_BASE (IRQ_BOARD_START + 2) | 253 | #define IRQ_LOCOMO_LT (IRQ_BOARD_START + 2) |
279 | #define IRQ_LOCOMO_SPI_BASE (IRQ_BOARD_START + 3) | 254 | #define IRQ_LOCOMO_SPI (IRQ_BOARD_START + 3) |
280 | 255 | ||
281 | /* phyCORE-PXA270 (PCM027) Interrupts */ | 256 | /* phyCORE-PXA270 (PCM027) Interrupts */ |
282 | #define PCM027_IRQ(x) (IRQ_BOARD_START + (x)) | 257 | #define PCM027_IRQ(x) (IRQ_BOARD_START + (x)) |