diff options
author | Govindraj Raja <govindraj.raja@arm.com> | 2023-03-10 10:38:54 +0000 |
---|---|---|
committer | Joanna Farley <joanna.farley@arm.com> | 2023-04-04 17:16:46 +0200 |
commit | 516a52f6f5cda6acb311ffd6e8fb77f2e09c1357 (patch) | |
tree | 86d826e37dfea253d47b3a62f50e2518a705a13d /include | |
parent | 42fb812a7525682362096d651a3749787b3bd555 (diff) | |
download | arm-trusted-firmware-516a52f6f5cda6acb311ffd6e8fb77f2e09c1357.tar.gz |
feat(cpus): add support for chaberton cpu
Add basic CPU library code to support the Chaberton CPU,
Chaberton cores are based out of Hunter core, so overall
library code was adapted based on that.
Change-Id: I58321c77f2c364225a764da6fa65656d1bec33f1
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/cpus/aarch64/cortex_chaberton.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/lib/cpus/aarch64/cortex_chaberton.h b/include/lib/cpus/aarch64/cortex_chaberton.h new file mode 100644 index 000000000..8f10b6876 --- /dev/null +++ b/include/lib/cpus/aarch64/cortex_chaberton.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2023, Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef CORTEX_CHABERTON_H +#define CORTEX_CHABERTON_H + +#define CORTEX_CHABERTON_MIDR U(0x410FD870) + +/******************************************************************************* + * CPU Extended Control register specific definitions + ******************************************************************************/ +#define CORTEX_CHABERTON_CPUECTLR_EL1 S3_0_C15_C1_4 + +/******************************************************************************* + * CPU Power Control register specific definitions + ******************************************************************************/ +#define CORTEX_CHABERTON_CPUPWRCTLR_EL1 S3_0_C15_C2_7 +#define CORTEX_CHABERTON_CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1) + +#endif /* CORTEX_CHABERTON_H */ |