Cortex-A53: add some bit definitions
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Wed, 24 May 2017 00:48:57 +0000 (08:48 +0800)
committerDan Handley <dan.handley@arm.com>
Wed, 24 May 2017 16:34:41 +0000 (17:34 +0100)
Add some bit definitions of CPUACTLR register in Cortex-A53
CPU library.

Change-Id: I142fd8ac4b06dd651a32e22951e71cdebbea123a
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Dan Handley <dan.handley@arm.com>
include/lib/cpus/aarch64/cortex_a53.h

index 673f97879b3e15f584b963ad868144c03e887405..10d9ee62aa91c2292ed3c85a2d28a9b9b0804223 100644 (file)
  ******************************************************************************/
 #define CPUACTLR_EL1                   S3_1_C15_C2_0   /* Instruction def. */
 
-#define CPUACTLR_DTAH                  (1 << 24)
-#define CPUACTLR_ENDCCASCI             (1 << 44)
+#define CPUACTLR_ENDCCASCI_SHIFT       44
+#define CPUACTLR_ENDCCASCI             (1 << CPUACTLR_ENDCCASCI_SHIFT)
+#define CPUACTLR_RADIS_SHIFT           27
+#define CPUACTLR_RADIS                 (3 << CPUACTLR_RADIS_SHIFT)
+#define CPUACTLR_L1RADIS_SHIFT         25
+#define CPUACTLR_L1RADIS               (3 << CPUACTLR_L1RADIS_SHIFT)
+#define CPUACTLR_DTAH_SHIFT            24
+#define CPUACTLR_DTAH                  (1 << CPUACTLR_DTAH_SHIFT)
 
 /*******************************************************************************
  * L2 Auxiliary Control register specific definitions.