arch: arm64: define A55 core

Define a CPU_CORTEX_A55 configuration and align the gcc
cpu type accordingly when selected.

Signed-off-by: Eugene Cohen <quic_egmc@quicinc.com>
This commit is contained in:
Eugene Cohen 2022-03-07 14:42:10 +00:00 committed by Carles Cufí
commit b84ab912af
2 changed files with 9 additions and 0 deletions

View file

@ -28,6 +28,13 @@ config CPU_CORTEX_A53
help
This option signifies the use of a Cortex-A53 CPU
config CPU_CORTEX_A55
bool
select CPU_CORTEX_A
select ARMV8_A
help
This option signifies the use of a Cortex-A55 CPU
config CPU_CORTEX_A72
bool
select CPU_CORTEX_A

View file

@ -73,6 +73,8 @@ if("${ARCH}" STREQUAL "arm")
elseif("${ARCH}" STREQUAL "arm64")
if(CONFIG_CPU_CORTEX_A53)
set(GCC_M_CPU cortex-a53)
elseif(CONFIG_CPU_CORTEX_A55)
set(GCC_M_CPU cortex-a55)
elseif(CONFIG_CPU_CORTEX_A72)
set(GCC_M_CPU cortex-a72)
elseif(CONFIG_CPU_CORTEX_R82)