Commit 2f85c01e authored by Abhishek Shah's avatar Abhishek Shah Committed by Carles Cufi
Browse files

arch: arm: aarch64: Add Cortex-A72 config



Add Cortex-A72 config in order to set "-mcpu" correctly.

Signed-off-by: default avatarAbhishek Shah <abhishek.shah@broadcom.com>
parent ad9f32a4
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -17,6 +17,13 @@ config CPU_CORTEX_A53
	help
	  This option signifies the use of a Cortex-A53 CPU

config CPU_CORTEX_A72
	bool
	select CPU_CORTEX_A
	select ARMV8_A
	help
	  This option signifies the use of a Cortex-A72 CPU

config SWITCH_TO_EL1
	bool "Switch to EL1 at boot"
	default y
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,8 @@ if("${ARCH}" STREQUAL "arm")
    set(GCC_M_CPU cortex-r5)
  elseif(CONFIG_CPU_CORTEX_A53)
    set(GCC_M_CPU cortex-a53)
  elseif(CONFIG_CPU_CORTEX_A72)
    set(GCC_M_CPU cortex-a72)
  else()
    message(FATAL_ERROR "Expected CONFIG_CPU_CORTEX_x to be defined")
  endif()