@@ -631,18 +631,6 @@ config ARCH_LPC18XX
Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4
high performance microcontrollers.
-config ARCH_MPS2
- bool "ARM MPS2 platform"
- depends on ARM_SINGLE_ARMV7M
- select ARM_AMBA
- select CLKSRC_MPS2
- help
- Support for Cortex-M Prototyping System (or V2M-MPS2) which comes
- with a range of available cores like Cortex-M3/M4/M7.
-
- Please, note that depends which Application Note is used memory map
- for the platform may vary, so adjustment of RAM base might be needed.
-
# Definitions to make life easier
config ARCH_ACORN
bool
@@ -325,3 +325,35 @@ config ARCH_VEXPRESS_TC2_PM
with a TC2 (A15x2 A7x3) big.LITTLE core tile.
endif
+
+menuconfig ARCH_MPS2
+ bool "ARM MPS2 family"
+ depends on ARM_SINGLE_ARMV7M
+ select ARM_AMBA
+ select CLKSRC_MPS2
+ help
+ Support for Cortex-M Prototyping System (or V2M-MPS2) which comes
+ with a range of available cores like Cortex-M3/M4/M7.
+
+ Please, note that depends which Application Note is used memory map
+ for the platform may vary, so adjustment of RAM base might be needed.
+
+if ARCH_MPS2
+
+config MACH_MPS2_AN385
+ bool "ARM MPS2 Application Note 385"
+ default y
+
+config MACH_MPS2_AN385
+ bool "ARM MPS2 Application Note 385"
+ default y
+
+config MACH_MPS2_AN399
+ bool "ARM MPS2 Application Note 399"
+ default y
+
+config MACH_MPS2_AN400
+ bool "ARM MPS2 Application Note 400"
+ default y
+
+endif # MPS2
We are about to add MPS2 compatible R-class platform, so we'd need fine grain control over what should go under M-calss. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> --- arch/arm/Kconfig | 12 ------------ arch/arm/mach-versatile/Kconfig | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 12 deletions(-)