Commit 7a5063d8 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] pxa: introduce PXA_HAVE_BOARD_IRQS

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b8e6c91c
...@@ -38,16 +38,19 @@ config ARCH_LUBBOCK ...@@ -38,16 +38,19 @@ config ARCH_LUBBOCK
bool "Intel DBPXA250 Development Platform" bool "Intel DBPXA250 Development Platform"
select PXA25x select PXA25x
select SA1111 select SA1111
select PXA_HAVE_BOARD_IRQS
config MACH_LOGICPD_PXA270 config MACH_LOGICPD_PXA270
bool "LogicPD PXA270 Card Engine Development Platform" bool "LogicPD PXA270 Card Engine Development Platform"
select PXA27x select PXA27x
select HAVE_PWM select HAVE_PWM
select PXA_HAVE_BOARD_IRQS
config MACH_MAINSTONE config MACH_MAINSTONE
bool "Intel HCDDBBVA0 Development Platform" bool "Intel HCDDBBVA0 Development Platform"
select PXA27x select PXA27x
select HAVE_PWM select HAVE_PWM
select PXA_HAVE_BOARD_IRQS
config ARCH_PXA_IDP config ARCH_PXA_IDP
bool "Accelent Xscale IDP" bool "Accelent Xscale IDP"
...@@ -114,10 +117,12 @@ config MACH_TOSA ...@@ -114,10 +117,12 @@ config MACH_TOSA
bool "Enable Sharp SL-6000x (Tosa) Support" bool "Enable Sharp SL-6000x (Tosa) Support"
depends on PXA_SHARPSL depends on PXA_SHARPSL
select PXA25x select PXA25x
select PXA_HAVE_BOARD_IRQS
config ARCH_PXA_ESERIES config ARCH_PXA_ESERIES
bool "PXA based Toshiba e-series PDAs" bool "PXA based Toshiba e-series PDAs"
select PXA25x select PXA25x
select PXA_HAVE_BOARD_IRQS
config MACH_E330 config MACH_E330
bool "Toshiba e330" bool "Toshiba e330"
...@@ -215,12 +220,14 @@ config MACH_MAGICIAN ...@@ -215,12 +220,14 @@ config MACH_MAGICIAN
bool "Enable HTC Magician Support" bool "Enable HTC Magician Support"
select PXA27x select PXA27x
select IWMMXT select IWMMXT
select PXA_HAVE_BOARD_IRQS
config MACH_PCM027 config MACH_PCM027
bool "Phytec phyCORE-PXA270 CPU module (PCM-027)" bool "Phytec phyCORE-PXA270 CPU module (PCM-027)"
select PXA27x select PXA27x
select IWMMXT select IWMMXT
select PXA_SSP select PXA_SSP
select PXA_HAVE_BOARD_IRQS
config ARCH_PXA_PALM config ARCH_PXA_PALM
bool "PXA based Palm PDAs" bool "PXA based Palm PDAs"
...@@ -343,4 +350,7 @@ config TOSA_BT ...@@ -343,4 +350,7 @@ config TOSA_BT
This is a simple driver that is able to control This is a simple driver that is able to control
the state of built in bluetooth chip on tosa. the state of built in bluetooth chip on tosa.
config PXA_HAVE_BOARD_IRQS
bool
endif endif
...@@ -178,13 +178,7 @@ ...@@ -178,13 +178,7 @@
#define NR_IRQS (IRQ_S1_BVD1_STSCHG + 1) #define NR_IRQS (IRQ_S1_BVD1_STSCHG + 1)
#elif defined(CONFIG_SHARP_LOCOMO) #elif defined(CONFIG_SHARP_LOCOMO)
#define NR_IRQS (IRQ_LOCOMO_SPI_TEND + 1) #define NR_IRQS (IRQ_LOCOMO_SPI_TEND + 1)
#elif defined(CONFIG_ARCH_LUBBOCK) || \ #elif defined(CONFIG_PXA_HAVE_BOARD_IRQS)
defined(CONFIG_MACH_LOGICPD_PXA270) || \
defined(CONFIG_MACH_TOSA) || \
defined(CONFIG_MACH_MAINSTONE) || \
defined(CONFIG_MACH_PCM027) || \
defined(CONFIG_ARCH_PXA_ESERIES) || \
defined(CONFIG_MACH_MAGICIAN)
#define NR_IRQS (IRQ_BOARD_END) #define NR_IRQS (IRQ_BOARD_END)
#elif defined(CONFIG_MACH_ZYLONITE) #elif defined(CONFIG_MACH_ZYLONITE)
#define NR_IRQS (IRQ_BOARD_START + 32) #define NR_IRQS (IRQ_BOARD_START + 32)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment