2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/arch/arm/plat-orion
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/plat ARM: orion: Move cache-feroceon-l2.h out of plat-orion 2014-02-22 20:43:15 +00:00
common.c watchdog: orion: Make RSTOUT register a separate resource 2014-02-22 03:43:23 +00:00
gpio.c arm: orion: Use irq_get_trigger_type() to get IRQ flags 2013-06-25 11:48:25 +02:00
irq.c ARM: orion: switch to a per-platform handle_irq() function 2014-04-26 19:45:06 +00:00
Makefile Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
mpp.c arm: plat-orion: fix printing of "MPP config unavailable on this hardware" 2013-01-23 14:37:52 +00:00
pcie.c arm: plat-orion: use mv_mbus_dram_info() in PCIe code 2013-03-17 18:03:44 +00:00
time.c ARM: SoC platform changes for 3.14 2014-01-23 18:40:49 -08:00