ARM i.MX irq: Compile avic irq code only on SoCs that need it
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 5 Nov 2010 08:37:22 +0000 (09:37 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Nov 2010 09:08:58 +0000 (10:08 +0100)
commitc7259df3af03aee00985e9bb64fb2afa593f703f
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 [new file with mode: 0644]
arch/arm/plat-mxc/irq.c [deleted file]