summaryrefslogtreecommitdiff
path: root/arch/arm/core/cortex_m/Kconfig
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2016-12-31 14:41:19 +0000
committerKumar Gala <kumar.gala@linaro.org>2017-01-12 09:46:25 -0600
commit84cb997c62af43b99836daf3043894573b26782d (patch)
tree0aed50e5d004d7b64b1707e7858b9fcd97566d39 /arch/arm/core/cortex_m/Kconfig
parentef8200dfcd5d86683f7ed1af0f83559099791b05 (diff)
arm: Adjust cortex-m7 support to reflect its ARMv7-M architecture.
The cortex-m7 is an implementation of armv7-m. Adjust the Kconfig support for cortex-m7 to reflect this and drop the unnecessary, explicit, conditional compilation. Change-Id: I6ec20e69c8c83c5a80b1f714506f7f9e295b15d5 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
Diffstat (limited to 'arch/arm/core/cortex_m/Kconfig')
-rw-r--r--arch/arm/core/cortex_m/Kconfig7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/core/cortex_m/Kconfig b/arch/arm/core/cortex_m/Kconfig
index eaff1e52f..dc35cad40 100644
--- a/arch/arm/core/cortex_m/Kconfig
+++ b/arch/arm/core/cortex_m/Kconfig
@@ -111,11 +111,8 @@ config CPU_CORTEX_M4
config CPU_CORTEX_M7
bool
# Omit prompt to signify "hidden" option
+ select ARMV7_M
default n
- select ATOMIC_OPERATIONS_BUILTIN
- select ISA_THUMB2
- select CPU_CORTEX_M_HAS_BASEPRI
- select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS
help
This option signifies the use of a Cortex-M7 CPU
@@ -211,7 +208,7 @@ config FLASH_BASE_ADDRESS
endmenu
menu "ARM Cortex-M0/M0+/M3/M4/M7 options"
- depends on ARMV6_M || ARMV7_M || CPU_CORTEX_M7
+ depends on ARMV6_M || ARMV7_M
config IRQ_OFFLOAD
bool "Enable IRQ offload"