ARMv7: GICv2 driver can manage GICv1 with security extension
authorEtienne Carriere <etienne.carriere@linaro.org>
Sun, 5 Nov 2017 21:57:38 +0000 (22:57 +0100)
committerEtienne Carriere <etienne.carriere@linaro.org>
Wed, 8 Nov 2017 13:42:06 +0000 (14:42 +0100)
commit64deed19e4f78abd7f68393096dacb58f8be1fa3
tree5e36e92a013f9760b7a4516bdf2601a769aaa808
parent634e4d2be6a15231cb132d4d15770c321d4d84f3
ARMv7: GICv2 driver can manage GICv1 with security extension

Some SoCs integrate a GIC in version 1 that is currently not supported
by the trusted firmware. This change hijacks GICv2 driver to handle the
GICv1 as GICv1 is compatible enough with GICv2 as far as the platform
does not attempt to play with virtualization support or some GICv2
specific power features.

Note that current trusted firmware does not use these GICv2 features
that are not available in GICv1 Security Extension.

Change-Id: Ic2cb3055f1319a83455571d6d918661da583f179
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
drivers/arm/gic/v2/gicv2_main.c
include/drivers/arm/gic_common.h