diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-03-25 15:50:38 +0000 |
---|---|---|
committer | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | 2020-06-09 17:05:49 +0000 |
commit | b4ad365a4642fb8b2ecb1df73dd69ee4caf58bd2 (patch) | |
tree | d185a5907abda0403916cc24fe8dfe78bc54cf03 /docs/getting_started | |
parent | 16af48e4cd4d99ccb8818c6f580b8184198ba0fe (diff) | |
download | platform_external_arm-trusted-firmware-b4ad365a4642fb8b2ecb1df73dd69ee4caf58bd2.tar.gz platform_external_arm-trusted-firmware-b4ad365a4642fb8b2ecb1df73dd69ee4caf58bd2.tar.bz2 platform_external_arm-trusted-firmware-b4ad365a4642fb8b2ecb1df73dd69ee4caf58bd2.zip |
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>
Diffstat (limited to 'docs/getting_started')
-rw-r--r-- | docs/getting_started/build-options.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/getting_started/build-options.rst b/docs/getting_started/build-options.rst index c86307948..19b565384 100644 --- a/docs/getting_started/build-options.rst +++ b/docs/getting_started/build-options.rst @@ -711,8 +711,10 @@ GICv3 driver files are included using directive: The driver can be configured with the following options set in the platform makefile: -- ``GICV3_IMPL``: Selects between GIC-500 and GIC-600 variants of GICv3. - This option can take values GIC500 and GIC600 with default set to GIC500. +- ``GICV3_SUPPORT_GIC600``: Add support for the GIC-600 variants of GICv3. + Enabling this option will add runtime detection support for the + GIC-600, so is safe to select even for a GIC500 implementation. + This option defaults to 0. - ``GICV3_IMPL_GIC600_MULTICHIP``: Selects GIC-600 variant with multichip functionality. This option defaults to 0 |