ARM i.MX irq: Compile avic irq code only on SoCs that need it
commitc7259df3af03aee00985e9bb64fb2afa593f703f
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 5 Nov 2010 08:37:22 +0000 (5 09:37 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Nov 2010 09:08:58 +0000 (24 10:08 +0100)
tree1cfa894081ad2704e4047ee64a9d534d0dfc2f84
parent7608d7d2b4a146f560436f5b99b1b93d30049e4e
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>
arch/arm/mach-imx/Kconfig
arch/arm/mach-mx3/Kconfig
arch/arm/plat-mxc/Kconfig
arch/arm/plat-mxc/Makefile
arch/arm/plat-mxc/avic.c [moved from arch/arm/plat-mxc/irq.c with 100% similarity]