diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-05 04:37:22 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-24 04:08:58 -0500 |
commit | c7259df3af03aee00985e9bb64fb2afa593f703f (patch) | |
tree | 1cfa894081ad2704e4047ee64a9d534d0dfc2f84 /arch/arm/mach-imx/Kconfig | |
parent | 7608d7d2b4a146f560436f5b99b1b93d30049e4e (diff) |
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-imx/Kconfig')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 41b6450df810..8a9de1751b79 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig | |||
@@ -6,6 +6,7 @@ config SOC_IMX1 | |||
6 | select CPU_ARM920T | 6 | select CPU_ARM920T |
7 | select IMX_HAVE_DMA_V1 | 7 | select IMX_HAVE_DMA_V1 |
8 | select IMX_HAVE_IOMUX_V1 | 8 | select IMX_HAVE_IOMUX_V1 |
9 | select MXC_AVIC | ||
9 | 10 | ||
10 | config SOC_IMX21 | 11 | config SOC_IMX21 |
11 | bool | 12 | bool |
@@ -13,12 +14,14 @@ config SOC_IMX21 | |||
13 | select ARCH_MXC_AUDMUX_V1 | 14 | select ARCH_MXC_AUDMUX_V1 |
14 | select IMX_HAVE_DMA_V1 | 15 | select IMX_HAVE_DMA_V1 |
15 | select IMX_HAVE_IOMUX_V1 | 16 | select IMX_HAVE_IOMUX_V1 |
17 | select MXC_AVIC | ||
16 | 18 | ||
17 | config SOC_IMX25 | 19 | config SOC_IMX25 |
18 | bool | 20 | bool |
19 | select CPU_ARM926T | 21 | select CPU_ARM926T |
20 | select ARCH_MXC_AUDMUX_V2 | 22 | select ARCH_MXC_AUDMUX_V2 |
21 | select ARCH_MXC_IOMUX_V3 | 23 | select ARCH_MXC_IOMUX_V3 |
24 | select MXC_AVIC | ||
22 | 25 | ||
23 | config SOC_IMX27 | 26 | config SOC_IMX27 |
24 | bool | 27 | bool |
@@ -26,6 +29,7 @@ config SOC_IMX27 | |||
26 | select ARCH_MXC_AUDMUX_V1 | 29 | select ARCH_MXC_AUDMUX_V1 |
27 | select IMX_HAVE_DMA_V1 | 30 | select IMX_HAVE_DMA_V1 |
28 | select IMX_HAVE_IOMUX_V1 | 31 | select IMX_HAVE_IOMUX_V1 |
32 | select MXC_AVIC | ||
29 | 33 | ||
30 | if ARCH_MX1 | 34 | if ARCH_MX1 |
31 | 35 | ||