diff options
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/irqs.h | 31 |
2 files changed, 4 insertions, 28 deletions
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index 385c30ee3f23..ff05f0ff2205 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig | |||
@@ -464,6 +464,7 @@ config MACH_POODLE | |||
464 | select PXA25x | 464 | select PXA25x |
465 | select SHARP_LOCOMO | 465 | select SHARP_LOCOMO |
466 | select PXA_SSP | 466 | select PXA_SSP |
467 | select PXA_HAVE_BOARD_IRQS | ||
467 | 468 | ||
468 | config MACH_CORGI | 469 | config MACH_CORGI |
469 | bool "Enable Sharp SL-C700 (Corgi) Support" | 470 | bool "Enable Sharp SL-C700 (Corgi) Support" |
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)) |