davinci: Integrate cp_intc support into low-level irq code
Integrate the Common Platform Interrupt Controller (cp_intc)
support into the low-level irq handling for davinci and similar
platforms. Do it such that support for cp_intc and the original
aintc can coexist in the same kernel binary.
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
index d7614a0..7640867 100644
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -1,5 +1,8 @@
if ARCH_DAVINCI
+config AINTC
+ bool
+
config CP_INTC
bool
@@ -9,12 +12,15 @@
config ARCH_DAVINCI_DM644x
bool "DaVinci 644x based system"
+ select AINTC
config ARCH_DAVINCI_DM355
bool "DaVinci 355 based system"
+ select AINTC
config ARCH_DAVINCI_DM646x
bool "DaVinci 646x based system"
+ select AINTC
comment "DaVinci Board Type"