]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: shmobile: r8a73a4: Instantiate GIC from C board code in legacy builds
authorMagnus Damm <damm+renesas@opensource.se>
Wed, 28 Jan 2015 12:46:45 +0000 (21:46 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 29 Jan 2015 00:34:51 +0000 (09:34 +0900)
commit8b443ea61c2a0428b5a1fe1842498a8f2e6653e1
treec7613996bbc55de42cf9b4aaf42a01167619665d
parent96279dee006610711e38741da4035ad834d62038
ARM: shmobile: r8a73a4: Instantiate GIC from C board code in legacy builds

As of commit b02292cf16d36257 ("irqchip: gic: Support hierarchy irq
domain."), the APE6EVM legacy board support is known to be broken.

The IRQ numbers of the GIC are now virtual, and no longer match the
hardcoded hardware IRQ numbers in the legacy platform board code.

To fix this issue specific to non-muliplatform r8a73a4 and APE6EVM:
 1) Instantiate the GIC from platform board code and also
 2) Skip over the DT arch timer as well as
 3) Force delay setup based on DT CPU frequency

With these 3 fixes in place interrupts on APE6EVM are now unbroken.

Partially based on legacy GIC fix by Geert Uytterhoeven, thanks to
him for the initial work.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-ape6evm.c
arch/arm/mach-shmobile/timer.c