summaryrefslogtreecommitdiffstats
path: root/src/arch/arm64/include/cpu/cortex_a57.h
blob: 00747ce4a28842f955e478941a10267086bba7bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ARCH_ARM64_CORTEX_A57_H__
#define __ARCH_ARM64_CORTEX_A57_H__

#define CPUACTLR_EL1	s3_1_c15_c2_0
#define BTB_INVALIDATE	(1 << 0)

#define CPUECTLR_EL1	S3_1_c15_c2_1
#define SMPEN_SHIFT	6

/* Cortex MIDR[15:4] PN */
#define CORTEX_A53_PN	0xd03

/* Double lock control bit */
#define OSDLR_DBL_LOCK_BIT	1

#endif /* __ARCH_ARM64_CORTEX_A57_H__ */