Skip to content

Commit

Permalink
ARM: stm32: create dedicated kconfig for STM32 machine
Browse files Browse the repository at this point in the history
Create a dedicated Kconfig file in mach-stm32/ and move existing stm32
configs inside.

Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
  • Loading branch information
Alexandre TORGUE committed Mar 24, 2017
1 parent c1ae3cf commit bcb84fb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
24 changes: 2 additions & 22 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,8 @@ source "arch/arm/mach-spear/Kconfig"

source "arch/arm/mach-sti/Kconfig"

source "arch/arm/mach-stm32/Kconfig"

source "arch/arm/mach-s3c24xx/Kconfig"

source "arch/arm/mach-s3c64xx/Kconfig"
Expand Down Expand Up @@ -877,28 +879,6 @@ config ARCH_LPC18XX
Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4
high performance microcontrollers.

config ARCH_STM32
bool "STMicrolectronics STM32"
depends on ARM_SINGLE_ARMV7M
select ARCH_HAS_RESET_CONTROLLER
select ARMV7M_SYSTICK
select CLKSRC_STM32
select PINCTRL
select RESET_CONTROLLER
select STM32_EXTI
help
Support for STMicroelectronics STM32 processors.

config MACH_STM32F429
bool "STMicrolectronics STM32F429"
depends on ARCH_STM32
default y

config MACH_STM32F746
bool "STMicrolectronics STM32F746"
depends on ARCH_STM32
default y

config ARCH_MPS2
bool "ARM MPS2 platform"
depends on ARM_SINGLE_ARMV7M
Expand Down
21 changes: 21 additions & 0 deletions arch/arm/mach-stm32/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
config ARCH_STM32
bool "STMicrolectronics STM32"
depends on ARM_SINGLE_ARMV7M
select ARCH_HAS_RESET_CONTROLLER
select ARMV7M_SYSTICK
select CLKSRC_STM32
select PINCTRL
select RESET_CONTROLLER
select STM32_EXTI
help
Support for STMicroelectronics STM32 processors.

config MACH_STM32F429
bool "STMicrolectronics STM32F429"
depends on ARCH_STM32
default y

config MACH_STM32F746
bool "STMicrolectronics STM32F746"
depends on ARCH_STM32
default y

0 comments on commit bcb84fb

Please sign in to comment.