aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjohpow01 <john.powell@arm.com>2021-07-07 17:06:07 -0500
committerjohpow01 <john.powell@arm.com>2021-08-17 13:14:58 -0500
commitf4616efafbc1004f1330f515b898e7617e338875 (patch)
tree0639e45010fb22169633fca6e1a4fa02b0d57745 /include
parent391828923fdd846ebc41745b72343b2a0b6a7204 (diff)
downloadarm-trusted-firmware-f4616efafbc1004f1330f515b898e7617e338875.tar.gz
cpu: add support for Demeter CPU
This patch adds the basic CPU library code to support the Demeter CPU. This CPU is based on the Makalu-ELP core so that CPU lib code was adapted to create this patch. Signed-off-by: John Powell <john.powell@arm.com> Change-Id: Ib5740b748008a72788c557f0654d8d5e9ec0bb7f
Diffstat (limited to 'include')
-rw-r--r--include/lib/cpus/aarch64/cortex_demeter.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/lib/cpus/aarch64/cortex_demeter.h b/include/lib/cpus/aarch64/cortex_demeter.h
new file mode 100644
index 000000000..9dd0987ab
--- /dev/null
+++ b/include/lib/cpus/aarch64/cortex_demeter.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2021, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef CORTEX_DEMETER_H
+#define CORTEX_DEMETER_H
+
+#define CORTEX_DEMETER_MIDR U(0x410FD4F0)
+
+/*******************************************************************************
+ * CPU Extended Control register specific definitions
+ ******************************************************************************/
+#define CORTEX_DEMETER_CPUECTLR_EL1 S3_0_C15_C1_4
+
+/*******************************************************************************
+ * CPU Power Control register specific definitions
+ ******************************************************************************/
+#define CORTEX_DEMETER_CPUPWRCTLR_EL1 S3_0_C15_C2_7
+#define CORTEX_DEMETER_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1)
+
+#endif /* CORTEX_DEMETER_H */