Skip to contentSkip to conversation

ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs

PATCH New Alexander Shiyan 2 participants 4 messages May 14, 2014 – May 19, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs

This patch allows to add support for other (non-V7) CPUs into "Device tree only" Kconfig chapter.

---
 arch/arm/mach-imx/Kconfig | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
arch/arm/mach-imx/Kconfig +9 -9
index d56eb1a..29433e7 100644
@@ -742,23 +742,25 @@ config MACH_EUKREA_MBIMXSD51_BASEBOARD
 
 endchoice
 
+endif
+
 comment "Device tree only"
 
-config	SOC_IMX50
+config SOC_IMX50
 	bool "i.MX50 support"
+	depends on ARCH_MULTI_V7
 	select HAVE_IMX_SRC
 	select PINCTRL_IMX50
 	select SOC_IMX5
-
 	help
 	  This enables support for Freescale i.MX50 processor.
 
-config	SOC_IMX53
+config SOC_IMX53
 	bool "i.MX53 support"
+	depends on ARCH_MULTI_V7
 	select HAVE_IMX_SRC
 	select PINCTRL_IMX53
 	select SOC_IMX5
-
 	help
 	  This enables support for Freescale i.MX53 processor.
 
@@ -778,6 +780,7 @@ config SOC_IMX6
 
 config SOC_IMX6Q
 	bool "i.MX6 Quad/DualLite support"
+	depends on ARCH_MULTI_V7
 	select ARM_ERRATA_764369 if SMP
 	select HAVE_ARM_SCU if SMP
 	select HAVE_ARM_TWD if SMP
@@ -785,32 +788,29 @@ config SOC_IMX6Q
 	select PCI_DOMAINS if PCI
 	select PINCTRL_IMX6Q
 	select SOC_IMX6
-
 	help
 	  This enables support for Freescale i.MX6 Quad processor.
 
 config SOC_IMX6SL
 	bool "i.MX6 SoloLite support"
+	depends on ARCH_MULTI_V7
 	select PINCTRL_IMX6SL
 	select SOC_IMX6
-
 	help
 	  This enables support for Freescale i.MX6 SoloLite processor.
 
 config SOC_VF610
 	bool "Vybrid Family VF610 support"
+	depends on ARCH_MULTI_V7
 	select ARM_GIC
 	select PINCTRL_VF610
 	select VF_PIT_TIMER
 	select PL310_ERRATA_588369 if CACHE_PL310
 	select PL310_ERRATA_727915 if CACHE_PL310
 	select PL310_ERRATA_769419 if CACHE_PL310
-
 	help
 	  This enable support for Freescale Vybrid VF610 processor.
 
-endif
-
 source "arch/arm/mach-imx/devices/Kconfig"
 
 endmenu
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 2/2 ARM: i.MX: Select HAVE_IMX_SRC for i.MX5 globally

No reason to choose a symbol HAVE_IMX_SRC separately for each supported i.MX5 CPU, this patch selects this symbol globally for i.MX5.

---
 arch/arm/mach-imx/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/mach-imx/Kconfig +1 -3
index 29433e7..e956f4b 100644
@@ -127,11 +127,11 @@ config SOC_IMX5
 	select ARCH_HAS_CPUFREQ
 	select ARCH_HAS_OPP
 	select ARCH_MXC_IOMUX_V3
+	select HAVE_IMX_SRC
 	select MXC_TZIC
 
 config	SOC_IMX51
 	bool
-	select HAVE_IMX_SRC
 	select PINCTRL_IMX51
 	select SOC_IMX5
 
@@ -749,7 +749,6 @@ comment "Device tree only"
 config SOC_IMX50
 	bool "i.MX50 support"
 	depends on ARCH_MULTI_V7
-	select HAVE_IMX_SRC
 	select PINCTRL_IMX50
 	select SOC_IMX5
 	help
@@ -758,7 +757,6 @@ config SOC_IMX50
 config SOC_IMX53
 	bool "i.MX53 support"
 	depends on ARCH_MULTI_V7
-	select HAVE_IMX_SRC
 	select PINCTRL_IMX53
 	select SOC_IMX5
 	help
Signature · 1 line
1.8.3.2
Applied
#2 lore raw

PATCH 2/2 ARM: i.MX: Select HAVE_IMX_SRC for i.MX5 globally

Quoted 4 lines · Alexander Shiyan

No reason to choose a symbol HAVE_IMX_SRC separately for each supported i.MX5 CPU, this patch selects this symbol globally for i.MX5.

Applied, thanks.

#3 lore raw

PATCH 1/2 ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs

In reply to Alexander Shiyan
Quoted 4 lines · Alexander Shiyan

This patch allows to add support for other (non-V7) CPUs into "Device tree only" Kconfig chapter.

Let's do that when there are actually non-V7 platforms that become device tree only?

Shawn

Quoted 84 lines
---
 arch/arm/mach-imx/Kconfig | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
arch/arm/mach-imx/Kconfig +9 -9
index d56eb1a..29433e7 100644
@@ -742,23 +742,25 @@ config MACH_EUKREA_MBIMXSD51_BASEBOARD
 
 endchoice
 
+endif
+
 comment "Device tree only"
 
-config	SOC_IMX50
+config SOC_IMX50
 	bool "i.MX50 support"
+	depends on ARCH_MULTI_V7
 	select HAVE_IMX_SRC
 	select PINCTRL_IMX50
 	select SOC_IMX5
-
 	help
 	  This enables support for Freescale i.MX50 processor.
 
-config	SOC_IMX53
+config SOC_IMX53
 	bool "i.MX53 support"
+	depends on ARCH_MULTI_V7
 	select HAVE_IMX_SRC
 	select PINCTRL_IMX53
 	select SOC_IMX5
-
 	help
 	  This enables support for Freescale i.MX53 processor.
 
@@ -778,6 +780,7 @@ config SOC_IMX6
 
 config SOC_IMX6Q
 	bool "i.MX6 Quad/DualLite support"
+	depends on ARCH_MULTI_V7
 	select ARM_ERRATA_764369 if SMP
 	select HAVE_ARM_SCU if SMP
 	select HAVE_ARM_TWD if SMP
@@ -785,32 +788,29 @@ config SOC_IMX6Q
 	select PCI_DOMAINS if PCI
 	select PINCTRL_IMX6Q
 	select SOC_IMX6
-
 	help
 	  This enables support for Freescale i.MX6 Quad processor.
 
 config SOC_IMX6SL
 	bool "i.MX6 SoloLite support"
+	depends on ARCH_MULTI_V7
 	select PINCTRL_IMX6SL
 	select SOC_IMX6
-
 	help
 	  This enables support for Freescale i.MX6 SoloLite processor.
 
 config SOC_VF610
 	bool "Vybrid Family VF610 support"
+	depends on ARCH_MULTI_V7
 	select ARM_GIC
 	select PINCTRL_VF610
 	select VF_PIT_TIMER
 	select PL310_ERRATA_588369 if CACHE_PL310
 	select PL310_ERRATA_727915 if CACHE_PL310
 	select PL310_ERRATA_769419 if CACHE_PL310
-
 	help
 	  This enable support for Freescale Vybrid VF610 processor.
 
-endif
-
 source "arch/arm/mach-imx/devices/Kconfig"
 
 endmenu
Signature · 1 line
1.8.3.2