aboutsummaryrefslogtreecommitdiff
path: root/include/drivers/arm/gicv3.h
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-07-29 19:24:53 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-07-29 19:24:53 +0000
commit4db3a8870a0e0442dde9cc77fda16c23c4b8b030 (patch)
tree26954772b4a3b0ea9f16904bdde8bae55b7df257 /include/drivers/arm/gicv3.h
parentf3be7e28556971aebdc5bc88c0961f0b6bf56108 (diff)
parentb29c350cdaebb11124f0e3db153dd973ac70cac5 (diff)
downloadtrusted-firmware-a-4db3a8870a0e0442dde9cc77fda16c23c4b8b030.tar.gz
Merge "GIC-600: Fix MISRA-2012 defects" into integration
Diffstat (limited to 'include/drivers/arm/gicv3.h')
-rw-r--r--include/drivers/arm/gicv3.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/drivers/arm/gicv3.h b/include/drivers/arm/gicv3.h
index 97b75b0da..18d5b73e2 100644
--- a/include/drivers/arm/gicv3.h
+++ b/include/drivers/arm/gicv3.h
@@ -223,10 +223,10 @@
#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_PRODUCT_ID_MASK U(0xff000000)
+#define IIDR_VARIANT_MASK U(0x000f0000)
+#define IIDR_REVISION_MASK U(0x0000f000)
+#define IIDR_IMPLEMENTER_MASK U(0x00000fff)
#define IIDR_MODEL_MASK (IIDR_PRODUCT_ID_MASK | \
IIDR_IMPLEMENTER_MASK)