diff options
author | Andre Przywara <andre.przywara@arm.com> | 2021-08-24 10:02:52 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-09-01 12:50:08 +0100 |
commit | 1fe27d71353dd35f60555012c5ace246836517cc (patch) | |
tree | 49569a4985d4e91960045d2dd9f576973e655153 /include | |
parent | 0c9f91cf699565c858e650d19bbdcab513d5001a (diff) | |
download | trusted-firmware-a-1fe27d71353dd35f60555012c5ace246836517cc.tar.gz |
refactor(gic): move GIC IIDR numbers
For the GIC power management we need to identify certain GIC
implementations, so we have the IIDR values for some Arm Ltd. GIC models
defined.
We will need those number elsewhere very soon, so export them to a
shared header file, to avoid defining them again.
Change-Id: I1b8e2d93d6cea0d066866143c89eef736231134f
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drivers/arm/arm_gicv3_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drivers/arm/arm_gicv3_common.h b/include/drivers/arm/arm_gicv3_common.h index b88b59fbf1..e5df311369 100644 --- a/include/drivers/arm/arm_gicv3_common.h +++ b/include/drivers/arm/arm_gicv3_common.h @@ -17,4 +17,8 @@ #define WAKER_SL_BIT (1U << WAKER_SL_SHIFT) #define WAKER_QSC_BIT (1U << WAKER_QSC_SHIFT) +#define IIDR_MODEL_ARM_GIC_600 U(0x0200043b) +#define IIDR_MODEL_ARM_GIC_600AE U(0x0300043b) +#define IIDR_MODEL_ARM_GIC_700 U(0x0400043b) + #endif /* ARM_GICV3_COMMON_H */ |