arch: arm: Add Cortex-R7 support
Pass the correct -mcpu flags to the compiler when building for the Cortex-R7. Signed-off-by: Julien Massot <julien.massot@iot.bzh>
This commit is contained in:
parent
253d2470f2
commit
d3345dd54d
2 changed files with 10 additions and 0 deletions
|
|
@ -27,6 +27,14 @@ config CPU_CORTEX_R5
|
|||
help
|
||||
This option signifies the use of a Cortex-R5 CPU
|
||||
|
||||
config CPU_CORTEX_R7
|
||||
bool
|
||||
select CPU_CORTEX_R
|
||||
select ARMV7_R
|
||||
select ARMV7_R_FP if CPU_HAS_FPU
|
||||
help
|
||||
This option signifies the use of a Cortex-R7 CPU
|
||||
|
||||
if CPU_CORTEX_R
|
||||
|
||||
config ARMV7_R
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@ if("${ARCH}" STREQUAL "arm")
|
|||
set(GCC_M_CPU cortex-r4)
|
||||
elseif(CONFIG_CPU_CORTEX_R5)
|
||||
set(GCC_M_CPU cortex-r5)
|
||||
elseif(CONFIG_CPU_CORTEX_R7)
|
||||
set(GCC_M_CPU cortex-r7)
|
||||
elseif(CONFIG_CPU_CORTEX_A53)
|
||||
set(GCC_M_CPU cortex-a53)
|
||||
elseif(CONFIG_CPU_CORTEX_A72)
|
||||
|
|
|
|||
Loading…
Reference in a new issue