aboutsummaryrefslogtreecommitdiff
path: root/include/lib/cpus/aarch64/cortex_a57.h
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2019-02-11 13:34:15 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2019-02-11 13:34:57 +0000
commit1a74e4a895f273c1ffacece3a4d11df73086ecfc (patch)
tree64d120d2c20c0796a38db17af8f346f60a0cadf3 /include/lib/cpus/aarch64/cortex_a57.h
parenta69817eda242d350f2ed9710eb2dbb1220b1cc17 (diff)
downloadtrusted-firmware-a-1a74e4a895f273c1ffacece3a4d11df73086ecfc.tar.gz
cpus: Add casts to all definitions in CPU headers
There are some incorrect casts and some missing casts in the headers. This patch fixes the ones that were 64-bit or 32-bit wide wrongly and adds casts where they were missing. Note that none of the changes of the patch actually changes the values of the definitions. This patch is just for correctness. Change-Id: Iad6458021bad521922ce4f91bafff38b116b49eb Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/lib/cpus/aarch64/cortex_a57.h')
-rw-r--r--include/lib/cpus/aarch64/cortex_a57.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib/cpus/aarch64/cortex_a57.h b/include/lib/cpus/aarch64/cortex_a57.h
index 90ba368776..1e68f21a4c 100644
--- a/include/lib/cpus/aarch64/cortex_a57.h
+++ b/include/lib/cpus/aarch64/cortex_a57.h
@@ -32,7 +32,7 @@
#define CORTEX_A57_ECTLR_L2_DPFTCH_DIST_MASK (ULL(0x3) << 32)
#define CORTEX_A57_ECTLR_CPU_RET_CTRL_SHIFT U(0)
-#define CORTEX_A57_ECTLR_CPU_RET_CTRL_MASK (U(0x7) << CORTEX_A57_ECTLR_CPU_RET_CTRL_SHIFT)
+#define CORTEX_A57_ECTLR_CPU_RET_CTRL_MASK (ULL(0x7) << CORTEX_A57_ECTLR_CPU_RET_CTRL_SHIFT)
/*******************************************************************************
* CPU Memory Error Syndrome register specific definitions.