diff options
-rw-r--r-- | arch/arm/mach-pxa/Kconfig | 10 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/irqs.h | 8 |
2 files changed, 11 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index e8ee7ec9ff6d..c9643bd4849c 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig | |||
@@ -38,16 +38,19 @@ config ARCH_LUBBOCK | |||
38 | bool "Intel DBPXA250 Development Platform" | 38 | bool "Intel DBPXA250 Development Platform" |
39 | select PXA25x | 39 | select PXA25x |
40 | select SA1111 | 40 | select SA1111 |
41 | select PXA_HAVE_BOARD_IRQS | ||
41 | 42 | ||
42 | config MACH_LOGICPD_PXA270 | 43 | config MACH_LOGICPD_PXA270 |
43 | bool "LogicPD PXA270 Card Engine Development Platform" | 44 | bool "LogicPD PXA270 Card Engine Development Platform" |
44 | select PXA27x | 45 | select PXA27x |
45 | select HAVE_PWM | 46 | select HAVE_PWM |
47 | select PXA_HAVE_BOARD_IRQS | ||
46 | 48 | ||
47 | config MACH_MAINSTONE | 49 | config MACH_MAINSTONE |
48 | bool "Intel HCDDBBVA0 Development Platform" | 50 | bool "Intel HCDDBBVA0 Development Platform" |
49 | select PXA27x | 51 | select PXA27x |
50 | select HAVE_PWM | 52 | select HAVE_PWM |
53 | select PXA_HAVE_BOARD_IRQS | ||
51 | 54 | ||
52 | config ARCH_PXA_IDP | 55 | config ARCH_PXA_IDP |
53 | bool "Accelent Xscale IDP" | 56 | bool "Accelent Xscale IDP" |
@@ -114,10 +117,12 @@ config MACH_TOSA | |||
114 | bool "Enable Sharp SL-6000x (Tosa) Support" | 117 | bool "Enable Sharp SL-6000x (Tosa) Support" |
115 | depends on PXA_SHARPSL | 118 | depends on PXA_SHARPSL |
116 | select PXA25x | 119 | select PXA25x |
120 | select PXA_HAVE_BOARD_IRQS | ||
117 | 121 | ||
118 | config ARCH_PXA_ESERIES | 122 | config ARCH_PXA_ESERIES |
119 | bool "PXA based Toshiba e-series PDAs" | 123 | bool "PXA based Toshiba e-series PDAs" |
120 | select PXA25x | 124 | select PXA25x |
125 | select PXA_HAVE_BOARD_IRQS | ||
121 | 126 | ||
122 | config MACH_E330 | 127 | config MACH_E330 |
123 | bool "Toshiba e330" | 128 | bool "Toshiba e330" |
@@ -215,12 +220,14 @@ config MACH_MAGICIAN | |||
215 | bool "Enable HTC Magician Support" | 220 | bool "Enable HTC Magician Support" |
216 | select PXA27x | 221 | select PXA27x |
217 | select IWMMXT | 222 | select IWMMXT |
223 | select PXA_HAVE_BOARD_IRQS | ||
218 | 224 | ||
219 | config MACH_PCM027 | 225 | config MACH_PCM027 |
220 | bool "Phytec phyCORE-PXA270 CPU module (PCM-027)" | 226 | bool "Phytec phyCORE-PXA270 CPU module (PCM-027)" |
221 | select PXA27x | 227 | select PXA27x |
222 | select IWMMXT | 228 | select IWMMXT |
223 | select PXA_SSP | 229 | select PXA_SSP |
230 | select PXA_HAVE_BOARD_IRQS | ||
224 | 231 | ||
225 | config ARCH_PXA_PALM | 232 | config ARCH_PXA_PALM |
226 | bool "PXA based Palm PDAs" | 233 | bool "PXA based Palm PDAs" |
@@ -343,4 +350,7 @@ config TOSA_BT | |||
343 | This is a simple driver that is able to control | 350 | This is a simple driver that is able to control |
344 | the state of built in bluetooth chip on tosa. | 351 | the state of built in bluetooth chip on tosa. |
345 | 352 | ||
353 | config PXA_HAVE_BOARD_IRQS | ||
354 | bool | ||
355 | |||
346 | endif | 356 | endif |
diff --git a/arch/arm/mach-pxa/include/mach/irqs.h b/arch/arm/mach-pxa/include/mach/irqs.h index 108b5db9b2af..ce3ce17ce3d3 100644 --- a/arch/arm/mach-pxa/include/mach/irqs.h +++ b/arch/arm/mach-pxa/include/mach/irqs.h | |||
@@ -178,13 +178,7 @@ | |||
178 | #define NR_IRQS (IRQ_S1_BVD1_STSCHG + 1) | 178 | #define NR_IRQS (IRQ_S1_BVD1_STSCHG + 1) |
179 | #elif defined(CONFIG_SHARP_LOCOMO) | 179 | #elif defined(CONFIG_SHARP_LOCOMO) |
180 | #define NR_IRQS (IRQ_LOCOMO_SPI_TEND + 1) | 180 | #define NR_IRQS (IRQ_LOCOMO_SPI_TEND + 1) |
181 | #elif defined(CONFIG_ARCH_LUBBOCK) || \ | 181 | #elif defined(CONFIG_PXA_HAVE_BOARD_IRQS) |
182 | defined(CONFIG_MACH_LOGICPD_PXA270) || \ | ||
183 | defined(CONFIG_MACH_TOSA) || \ | ||
184 | defined(CONFIG_MACH_MAINSTONE) || \ | ||
185 | defined(CONFIG_MACH_PCM027) || \ | ||
186 | defined(CONFIG_ARCH_PXA_ESERIES) || \ | ||
187 | defined(CONFIG_MACH_MAGICIAN) | ||
188 | #define NR_IRQS (IRQ_BOARD_END) | 182 | #define NR_IRQS (IRQ_BOARD_END) |
189 | #elif defined(CONFIG_MACH_ZYLONITE) | 183 | #elif defined(CONFIG_MACH_ZYLONITE) |
190 | #define NR_IRQS (IRQ_BOARD_START + 32) | 184 | #define NR_IRQS (IRQ_BOARD_START + 32) |