ARM: bL_switcher: do not hardcode GIC IDs in the code
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 6 Jul 2012 01:33:26 +0000 (21:33 -0400)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 19 Jun 2013 20:54:22 +0000 (16:54 -0400)
commiteb3525e4e0279291d89546a1d8c240079943b8b2
tree99733c8df192a6133bcbfa2932196e379902018d
parent0ed7390292d925cfef71d29134451370c36b4112
ARM: bL_switcher: do not hardcode GIC IDs in the code

Currently, GIC IDs are hardcoded making the code dependent on the x4 b.L
configuration.  Let's allow for GIC IDs to be discovered upon switcher
initialization to support other b.L configurations such as the x1 one.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
arch/arm/common/bL_switcher.c
drivers/irqchip/irq-gic.c
include/linux/irqchip/arm-gic.h