summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx3/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-11-05 08:37:22 (GMT)
committerSascha Hauer <s.hauer@pengutronix.de>2010-11-24 09:08:58 (GMT)
commitc7259df3af03aee00985e9bb64fb2afa593f703f (patch)
tree1cfa894081ad2704e4047ee64a9d534d0dfc2f84 /arch/arm/mach-mx3/Kconfig
parent7608d7d2b4a146f560436f5b99b1b93d30049e4e (diff)
downloadlinux-fsl-qoriq-c7259df3af03aee00985e9bb64fb2afa593f703f.tar.xz
ARM i.MX irq: Compile avic irq code only on SoCs that need it
This patch adds a Kconfig option for the avic irq controller and lets the SoCs that need it select this option. Also, as we have two irq controllers for i.MX, irq.c is not appropriate anymore, so rename it to avic.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/Kconfig')
-rw-r--r--arch/arm/mach-mx3/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig
index a682c03..165e722 100644
--- a/arch/arm/mach-mx3/Kconfig
+++ b/arch/arm/mach-mx3/Kconfig
@@ -15,6 +15,7 @@ config SOC_IMX31
select IMX_HAVE_PLATFORM_MXC_RNGA
select ARCH_MXC_AUDMUX_V2
select ARCH_MX31
+ select MXC_AVIC
config SOC_IMX35
bool
@@ -22,6 +23,7 @@ config SOC_IMX35
select ARCH_MXC_AUDMUX_V2
select HAVE_EPIT
select ARCH_MX35
+ select MXC_AVIC
comment "MX3 platforms:"