ARM: at91: make use of the new AIC driver for dt enabled boards
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Jul 2014 17:14:21 +0000 (19:14 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 19 Aug 2014 18:32:49 +0000 (20:32 +0200)
commit3b26f39b0ab1f390365701981e831aa128e3e4ac
tree166bdb960f9231e1c986e034128fb27c960f3c1a
parent071926041e5b38f84f2aaac2122c57e398e535b5
ARM: at91: make use of the new AIC driver for dt enabled boards

Remove selection of OLD_IRQ_AT91 when selecting dt boards.
Select ATMEL_AIC_IRQ for sama5 SoCs (a kernel compiled for this SoC will
always use ATMEL_AIC_IRQ driver).
Select ATMEL_AIC_IRQ for at91rm9200 and at91sam9 SoCs only if OLD_IRQ_AT91
is not selected (which means we are compiling a pure DT kernel, without
any legacy board support).

Remove specific irq init code in all dt board files: this init procedure
is automatically handled in of_irq_init which is called by the arm irq core
code and is in charge of calling the appropriate aic init functions.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/Kconfig
arch/arm/mach-at91/board-dt-rm9200.c
arch/arm/mach-at91/board-dt-sam9.c
arch/arm/mach-at91/board-dt-sama5.c