aboutsummaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorMadhukar Pappireddy <madhukar.pappireddy@arm.com>2020-06-09 20:17:39 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-06-09 20:17:39 +0000
commit10640d245911992274565d4f54234da7f0c654f6 (patch)
tree863a2a5314fe60edb3cd605f2d2fa450811b5732 /include/drivers
parente5f3812eeca97170a56dd538a5fd9aaa4627d0f2 (diff)
parentb4ad365a4642fb8b2ecb1df73dd69ee4caf58bd2 (diff)
downloadtrusted-firmware-a-10640d245911992274565d4f54234da7f0c654f6.tar.gz
Merge "GICv3: GIC-600: Detect GIC-600 at runtime" into integration
Diffstat (limited to 'include/drivers')
-rw-r--r--include/drivers/arm/gicv3.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drivers/arm/gicv3.h b/include/drivers/arm/gicv3.h
index 03596b96ec..77dc350ddb 100644
--- a/include/drivers/arm/gicv3.h
+++ b/include/drivers/arm/gicv3.h
@@ -222,6 +222,14 @@
#define TYPER_PPI_NUM_SHIFT U(27)
#define TYPER_PPI_NUM_MASK U(0x1f)
+/* GICR_IIDR bit definitions */
+#define IIDR_PRODUCT_ID_MASK 0xff000000
+#define IIDR_VARIANT_MASK 0x000f0000
+#define IIDR_REVISION_MASK 0x0000f000
+#define IIDR_IMPLEMENTER_MASK 0x00000fff
+#define IIDR_MODEL_MASK (IIDR_PRODUCT_ID_MASK | \
+ IIDR_IMPLEMENTER_MASK)
+
/*******************************************************************************
* GICv3 and 3.1 CPU interface registers & constants
******************************************************************************/