aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjohpow01 <john.powell@arm.com>2021-03-15 15:07:21 -0500
committerjohpow01 <john.powell@arm.com>2021-03-24 12:53:18 -0500
commitcb090c1924816c379228eda01444aac7f76b965f (patch)
tree0bcb4016cd24b402498642d830942ed1d7c40560 /include
parent4a81a9f1be97b36ef19fedbd74d5a6075b433f73 (diff)
downloadtrusted-firmware-a-cb090c1924816c379228eda01444aac7f76b965f.tar.gz
Add Makalu ELP CPU lib
Add basic support for Makalu ELP processor core. Signed-off-by: John Powell <john.powell@arm.com> Change-Id: I7b1ddbb8dd43326ecb8ff188f6f8fcf239826a93
Diffstat (limited to 'include')
-rw-r--r--include/lib/cpus/aarch64/cortex_makalu_elp.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/lib/cpus/aarch64/cortex_makalu_elp.h b/include/lib/cpus/aarch64/cortex_makalu_elp.h
new file mode 100644
index 0000000000..4a1699635f
--- /dev/null
+++ b/include/lib/cpus/aarch64/cortex_makalu_elp.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2021, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef CORTEX_MAKALU_ELP_H
+#define CORTEX_MAKALU_ELP_H
+
+#define CORTEX_MAKALU_ELP_MIDR U(0x410FD4E0)
+
+/*******************************************************************************
+ * CPU Extended Control register specific definitions
+ ******************************************************************************/
+#define CORTEX_MAKALU_ELP_CPUECTLR_EL1 S3_0_C15_C1_4
+
+/*******************************************************************************
+ * CPU Power Control register specific definitions
+ ******************************************************************************/
+#define CORTEX_MAKALU_ELP_CPUPWRCTLR_EL1 S3_0_C15_C2_7
+#define CORTEX_MAKALU_ELP_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1)
+
+#endif /* CORTEX_MAKALU_ELP_H */