blob: 5421478d20f667033886a10b34f0f1b74a0e12b5 [file] [log] [blame]
Sandrine Bailleux432aa772016-01-07 16:52:49 +00001/*
Antonio Nino Diaz5e79cfe2019-02-11 13:34:15 +00002 * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved.
Sandrine Bailleux432aa772016-01-07 16:52:49 +00003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Sandrine Bailleux432aa772016-01-07 16:52:49 +00005 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef CORTEX_A35_H
8#define CORTEX_A35_H
Sandrine Bailleux432aa772016-01-07 16:52:49 +00009
Antonio Nino Diaz5e79cfe2019-02-11 13:34:15 +000010#include <lib/utils_def.h>
11
Sandrine Bailleux432aa772016-01-07 16:52:49 +000012/* Cortex-A35 Main ID register for revision 0 */
Antonio Nino Diaz5e79cfe2019-02-11 13:34:15 +000013#define CORTEX_A35_MIDR U(0x410FD040)
Sandrine Bailleux432aa772016-01-07 16:52:49 +000014
15/*******************************************************************************
16 * CPU Extended Control register specific definitions.
17 * CPUECTLR_EL1 is an implementation-specific register.
18 ******************************************************************************/
19#define CORTEX_A35_CPUECTLR_EL1 S3_1_C15_C2_1
Antonio Nino Diaz5e79cfe2019-02-11 13:34:15 +000020#define CORTEX_A35_CPUECTLR_SMPEN_BIT (ULL(1) << 6)
Sandrine Bailleux432aa772016-01-07 16:52:49 +000021
Louis Mayencourt8a061272019-04-05 16:25:25 +010022/*******************************************************************************
23 * CPU Auxiliary Control register specific definitions.
24 ******************************************************************************/
25#define CORTEX_A35_CPUACTLR_EL1 S3_1_C15_C2_0
26
27#define CORTEX_A35_CPUACTLR_EL1_ENDCCASCI (ULL(1) << 44)
28
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000029#endif /* CORTEX_A35_H */