arch: arm: introduce ARMV8_M_SE option

This commit introduces the ARMV8_M_SE K-config option
to signify the use of an ARMv8-M MCU with support for
Security Extensions. It also introduces dependences of
ARM_(NON)SECURE_FIRMWARE on ARMV8_M_SE.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2018-05-22 13:30:59 +02:00 committed by Carles Cufí
commit 13dc376240
2 changed files with 11 additions and 0 deletions

View file

@ -60,6 +60,7 @@ config ARM_STACK_PROTECTION
config ARM_SECURE_FIRMWARE
bool
depends on ARMV8_M_SE
default n
help
This option indicates that we are building a Zephyr image that
@ -81,6 +82,7 @@ config ARM_SECURE_FIRMWARE
config ARM_NONSECURE_FIRMWARE
bool
depends on !ARM_SECURE_FIRMWARE
depends on ARMV8_M_SE
default n
help
This option indicates that we are building a Zephyr image that

View file

@ -242,6 +242,15 @@ config ARMV8_M_MAINLINE
ARMv8-M Main Extension includes additional features
not present in the ARMv7-M architecture.
config ARMV8_M_SE
bool
# Omit prompt to signify "hidden" option
depends on ARMV8_M_BASELINE || ARMV8_M_MAINLINE
help
This option signifies the use of an ARMv8-M processor
implementation (Baseline or Mainline) supporting the
Security Extensions.
config ARMV7_M_ARMV8_M_FP
bool
# Omit prompt to signify "hidden" option