GICv3: GIC-600: Detect GIC-600 at runtime
The only difference between GIC-500 and GIC-600 relevant to TF-A is the
differing power management sequence.
A certain GIC implementation is detectable at runtime, for instance by
checking the IIDR register. Let's add that test before initiating the
GIC-600 specific sequence, so the code can be used on both GIC-600 and
GIC-500 chips alike, without deciding on a GIC chip at compile time.

This means that the GIC-500 "driver" is now redundant. To allow minimal
platform support, add a switch to disable GIC-600 support.

Change-Id: I17ea97d9fb05874772ebaa13e6678b4ba3415557
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent 16af48e commit b4ad365a4642fb8b2ecb1df73dd69ee4caf58bd2
@Andre Przywara Andre Przywara authored on 25 Mar 2020
Madhukar Pappireddy committed on 9 Jun 2020
Showing 13 changed files
View
docs/getting_started/build-options.rst
View
docs/plat/arm/fvp/index.rst
View
drivers/arm/gic/v3/gic-x00.c 0 → 100644
View
drivers/arm/gic/v3/gic500.c 100644 → 0
View
drivers/arm/gic/v3/gic600.c 100644 → 0
View
drivers/arm/gic/v3/gicv3.mk
View
include/drivers/arm/gicv3.h
View
plat/arm/board/arm_fpga/platform.mk
View
plat/arm/board/fvp/platform.mk
View
plat/arm/board/n1sdp/platform.mk
View
plat/arm/board/tc0/platform.mk
View
plat/arm/css/sgi/sgi-common.mk
View
plat/arm/css/sgm/sgm-common.mk