summaryrefslogtreecommitdiff
path: root/include/lib/aarch32/arch.h
diff options
context:
space:
mode:
authorSona Mathew <SonaRebecca.Mathew@arm.com>2022-11-28 13:19:11 -0600
committerSona Mathew <SonaRebecca.Mathew@arm.com>2023-05-08 18:19:04 -0500
commit073842171ae9d91b3bdc2031905faafabc7abe57 (patch)
treed1b64e32752d2bd8ca31004cb2ee7955f4b7d6ad /include/lib/aarch32/arch.h
parent83fe74900c440b2728c458efd8b1c57be20ba039 (diff)
Add tests for Errata management firmware interface.
Add tests to confirm that the em_version, em_features and em_cpu_erratum_features calls conform to the errata abi spec. Signed-off-by: Sona Mathew <SonaRebecca.Mathew@arm.com> Change-Id: I8395026acc004a10d8c2c17ec689f4e0752143d8
Diffstat (limited to 'include/lib/aarch32/arch.h')
-rw-r--r--include/lib/aarch32/arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lib/aarch32/arch.h b/include/lib/aarch32/arch.h
index 53ef4ba..6f41db9 100644
--- a/include/lib/aarch32/arch.h
+++ b/include/lib/aarch32/arch.h
@@ -20,6 +20,8 @@
#define MIDR_REV_BITS U(4)
#define MIDR_PN_MASK U(0xfff)
#define MIDR_PN_SHIFT U(4)
+#define MIDR_VAR_MASK U(0xf0)
+#define MIDR_REV_MASK U(0xf)
/*******************************************************************************
* MPIDR macros