blob: 6ddd53380ee6417eddf46fe553621548276fa61a [file] [log] [blame]
Yatharth Kochara4c219a2016-07-12 15:47:03 +01001/*
Antonio Nino Diaz5e79cfe2019-02-11 13:34:15 +00002 * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved.
Yatharth Kochara4c219a2016-07-12 15:47:03 +01003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Yatharth Kochara4c219a2016-07-12 15:47:03 +01005 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef CORTEX_A32_H
8#define CORTEX_A32_H
Yatharth Kochara4c219a2016-07-12 15:47:03 +01009
Antonio Nino Diaz5e79cfe2019-02-11 13:34:15 +000010#include <lib/utils_def.h>
11
Yatharth Kochara4c219a2016-07-12 15:47:03 +010012/* Cortex-A32 Main ID register for revision 0 */
Antonio Nino Diaz5e79cfe2019-02-11 13:34:15 +000013#define CORTEX_A32_MIDR U(0x410FD010)
Yatharth Kochara4c219a2016-07-12 15:47:03 +010014
15/*******************************************************************************
16 * CPU Extended Control register specific definitions.
17 * CPUECTLR_EL1 is an implementation-specific register.
18 ******************************************************************************/
19#define CORTEX_A32_CPUECTLR_EL1 p15, 1, c15
Antonio Nino Diaz5e79cfe2019-02-11 13:34:15 +000020#define CORTEX_A32_CPUECTLR_SMPEN_BIT (ULL(1) << 6)
Yatharth Kochara4c219a2016-07-12 15:47:03 +010021
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000022#endif /* CORTEX_A32_H */