aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre TORGUE <alexandre.torgue@st.com>2017-01-30 11:33:13 -0500
committerAlexandre TORGUE <alexandre.torgue@st.com>2017-03-24 04:35:12 -0400
commitbcb84fb4d606ef8a0c2c276551bc81f6d2381898 (patch)
tree9c70673d29cd96db71ab21b0e79ef116fdb61318
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff)
ARM: stm32: create dedicated kconfig for STM32 machine
Create a dedicated Kconfig file in mach-stm32/ and move existing stm32 configs inside. Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
-rw-r--r--arch/arm/Kconfig24
-rw-r--r--arch/arm/mach-stm32/Kconfig21
2 files changed, 23 insertions, 22 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0d4e71b42c77..4386fd8edf7a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -819,6 +819,8 @@ source "arch/arm/mach-spear/Kconfig"
819 819
820source "arch/arm/mach-sti/Kconfig" 820source "arch/arm/mach-sti/Kconfig"
821 821
822source "arch/arm/mach-stm32/Kconfig"
823
822source "arch/arm/mach-s3c24xx/Kconfig" 824source "arch/arm/mach-s3c24xx/Kconfig"
823 825
824source "arch/arm/mach-s3c64xx/Kconfig" 826source "arch/arm/mach-s3c64xx/Kconfig"
@@ -877,28 +879,6 @@ config ARCH_LPC18XX
877 Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4 879 Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4
878 high performance microcontrollers. 880 high performance microcontrollers.
879 881
880config ARCH_STM32
881 bool "STMicrolectronics STM32"
882 depends on ARM_SINGLE_ARMV7M
883 select ARCH_HAS_RESET_CONTROLLER
884 select ARMV7M_SYSTICK
885 select CLKSRC_STM32
886 select PINCTRL
887 select RESET_CONTROLLER
888 select STM32_EXTI
889 help
890 Support for STMicroelectronics STM32 processors.
891
892config MACH_STM32F429
893 bool "STMicrolectronics STM32F429"
894 depends on ARCH_STM32
895 default y
896
897config MACH_STM32F746
898 bool "STMicrolectronics STM32F746"
899 depends on ARCH_STM32
900 default y
901
902config ARCH_MPS2 882config ARCH_MPS2
903 bool "ARM MPS2 platform" 883 bool "ARM MPS2 platform"
904 depends on ARM_SINGLE_ARMV7M 884 depends on ARM_SINGLE_ARMV7M
diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
new file mode 100644
index 000000000000..40115facb746
--- /dev/null
+++ b/arch/arm/mach-stm32/Kconfig
@@ -0,0 +1,21 @@
1config ARCH_STM32
2 bool "STMicrolectronics STM32"
3 depends on ARM_SINGLE_ARMV7M
4 select ARCH_HAS_RESET_CONTROLLER
5 select ARMV7M_SYSTICK
6 select CLKSRC_STM32
7 select PINCTRL
8 select RESET_CONTROLLER
9 select STM32_EXTI
10 help
11 Support for STMicroelectronics STM32 processors.
12
13config MACH_STM32F429
14 bool "STMicrolectronics STM32F429"
15 depends on ARCH_STM32
16 default y
17
18config MACH_STM32F746
19 bool "STMicrolectronics STM32F746"
20 depends on ARCH_STM32
21 default y