2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/arch/arm/mach-dove
Thomas Petazzoni deac3d874e ARM: orion: switch to a per-platform handle_irq() function
Moving to the Device Tree implies having CONFIG_MULTI_IRQ_HANDLER
enabled, even for non-DT platforms (if we want both DT and non-DT
platforms to be supported in a single kernel).

However, the common CONFIG_MULTI_IRQ_HANDLER handler for non-DT
platforms in plat-orion/irq.c doesn't match the needs of
Orion5x. Also, it doesn't make much sense for orion_irq_init() to
register the multi-IRQ handler: orion_irq_init() is called once for
each IRQ cause/mask tuple, while the multi-IRQ handler only needs to
be registered once.

To solve this problem, we move the multi-IRQ handle in per-platform
code: mach-kirkwood/irq.c and mach-dove/irq.c. The Orion5x variant
will be introduced in a followup commit. Of course, this code will
ultimately be completely removed once all boards are converted to the
Device Tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Link: https://lkml.kernel.org/r/1398202002-28530-23-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2014-04-26 19:45:06 +00:00
..
include/mach ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
cm-a510.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
common.c ARM: Dove: Fix compiler warnings with C=1 builds 2013-11-24 02:36:55 +00:00
common.h reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
dove-db-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
irq.c ARM: orion: switch to a per-platform handle_irq() function 2014-04-26 19:45:06 +00:00
Kconfig ARM: mvebu: move DT Dove to MVEBU 2014-03-04 04:13:48 +00:00
Makefile ARM: mvebu: move DT Dove to MVEBU 2014-03-04 04:13:48 +00:00
Makefile.boot ARM: kirkwood: move new dtbs to common Makefile 2012-09-22 14:24:00 -07:00
mpp.c ARM: dove: fix missing __init section of dove_mpp_gpio_mode 2013-07-25 15:22:17 +00:00
mpp.h ARM: dove: Consolidate mpp code with platform mpp. 2011-05-16 15:49:31 -04:00
pcie.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00