Commit 13dc3762 authored by Ioannis Glaropoulos's avatar Ioannis Glaropoulos Committed by Carles Cufi
Browse files

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: default avatarIoannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
parent dd640f14
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
+9 −0
Original line number Diff line number Diff line
@@ -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