mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 22:05:40 +00:00

There are some incorrect casts and some missing casts in the headers. This patch fixes the ones that were 64-bit or 32-bit wide wrongly and adds casts where they were missing. Note that none of the changes of the patch actually changes the values of the definitions. This patch is just for correctness. Change-Id: Iad6458021bad521922ce4f91bafff38b116b49eb Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
22 lines
692 B
C
22 lines
692 B
C
/*
|
|
* Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef CORTEX_A32_H
|
|
#define CORTEX_A32_H
|
|
|
|
#include <lib/utils_def.h>
|
|
|
|
/* Cortex-A32 Main ID register for revision 0 */
|
|
#define CORTEX_A32_MIDR U(0x410FD010)
|
|
|
|
/*******************************************************************************
|
|
* CPU Extended Control register specific definitions.
|
|
* CPUECTLR_EL1 is an implementation-specific register.
|
|
******************************************************************************/
|
|
#define CORTEX_A32_CPUECTLR_EL1 p15, 1, c15
|
|
#define CORTEX_A32_CPUECTLR_SMPEN_BIT (ULL(1) << 6)
|
|
|
|
#endif /* CORTEX_A32_H */
|