[PATCH 2/5] ARM: Kconfig: Introduce MACH_STM32F746 flag

Alexandre TORGUE alexandre.torgue at st.com
Wed Oct 26 08:11:20 PDT 2016


This patch introduces the MACH_STM32F746 to make possible to only select
STM32F746 pinctrl driver

By default, all the MACH_STM32Fxxx flags will be set with STM32 defconfig.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue at st.com>

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index b5d529f..4353765 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -887,6 +887,11 @@ config MACH_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
-- 
1.9.1




More information about the linux-arm-kernel mailing list