Etienne Carriere | a1249e0 | 2017-11-05 22:56:19 +0100 | [diff] [blame] | 1 | /* |
Govindraj Raja | eee28e7 | 2023-08-01 15:52:40 -0500 | [diff] [blame^] | 2 | * Copyright (c) 2017-2019, Arm Limited and Contributors. All rights reserved. |
Etienne Carriere | a1249e0 | 2017-11-05 22:56:19 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef CORTEX_A9_H |
| 8 | #define CORTEX_A9_H |
Etienne Carriere | a1249e0 | 2017-11-05 22:56:19 +0100 | [diff] [blame] | 9 | |
Antonio Nino Diaz | 5e79cfe | 2019-02-11 13:34:15 +0000 | [diff] [blame] | 10 | #include <lib/utils_def.h> |
| 11 | |
Etienne Carriere | a1249e0 | 2017-11-05 22:56:19 +0100 | [diff] [blame] | 12 | /******************************************************************************* |
| 13 | * Cortex-A9 midr with version/revision set to 0 |
| 14 | ******************************************************************************/ |
Antonio Nino Diaz | 5e79cfe | 2019-02-11 13:34:15 +0000 | [diff] [blame] | 15 | #define CORTEX_A9_MIDR U(0x410FC090) |
Etienne Carriere | a1249e0 | 2017-11-05 22:56:19 +0100 | [diff] [blame] | 16 | |
| 17 | /******************************************************************************* |
| 18 | * CPU Auxiliary Control register specific definitions. |
| 19 | ******************************************************************************/ |
Antonio Nino Diaz | 5e79cfe | 2019-02-11 13:34:15 +0000 | [diff] [blame] | 20 | #define CORTEX_A9_ACTLR_SMP_BIT (U(1) << 6) |
| 21 | #define CORTEX_A9_ACTLR_FLZW_BIT (U(1) << 3) |
Etienne Carriere | a1249e0 | 2017-11-05 22:56:19 +0100 | [diff] [blame] | 22 | |
| 23 | /******************************************************************************* |
| 24 | * CPU Power Control Register |
| 25 | ******************************************************************************/ |
| 26 | #define PCR p15, 0, c15, c0, 0 |
| 27 | |
Julius Werner | 53456fc | 2019-07-09 13:49:11 -0700 | [diff] [blame] | 28 | #ifndef __ASSEMBLER__ |
Etienne Carriere | a1249e0 | 2017-11-05 22:56:19 +0100 | [diff] [blame] | 29 | #include <arch_helpers.h> |
| 30 | DEFINE_COPROCR_RW_FUNCS(pcr, PCR) |
| 31 | #endif |
| 32 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 33 | #endif /* CORTEX_A9_H */ |