* [PATCH 1/2] ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs
@ 2014-05-14 17:30 Alexander Shiyan
2014-05-14 17:30 ` [PATCH 2/2] ARM: i.MX: Select HAVE_IMX_SRC for i.MX5 globally Alexander Shiyan
2014-05-19 5:23 ` [PATCH 1/2] ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs Shawn Guo
0 siblings, 2 replies; 4+ messages in thread
From: Alexander Shiyan @ 2014-05-14 17:30 UTC (permalink / raw)
To: linux-arm-kernel
This patch allows to add support for other (non-V7) CPUs into
"Device tree only" Kconfig chapter.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/mach-imx/Kconfig | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index d56eb1a..29433e7 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -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
--
1.8.3.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: i.MX: Select HAVE_IMX_SRC for i.MX5 globally
2014-05-14 17:30 [PATCH 1/2] ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs Alexander Shiyan
@ 2014-05-14 17:30 ` Alexander Shiyan
2014-05-19 5:25 ` Shawn Guo
2014-05-19 5:23 ` [PATCH 1/2] ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs Shawn Guo
1 sibling, 1 reply; 4+ messages in thread
From: Alexander Shiyan @ 2014-05-14 17:30 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/mach-imx/Kconfig | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 29433e7..e956f4b 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -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
--
1.8.3.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs
2014-05-14 17:30 [PATCH 1/2] ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs Alexander Shiyan
2014-05-14 17:30 ` [PATCH 2/2] ARM: i.MX: Select HAVE_IMX_SRC for i.MX5 globally Alexander Shiyan
@ 2014-05-19 5:23 ` Shawn Guo
1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2014-05-19 5:23 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, May 14, 2014 at 09:30:13PM +0400, Alexander Shiyan wrote:
> This patch allows to add support for other (non-V7) CPUs into
> "Device tree only" Kconfig chapter.
>
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Let's do that when there are actually non-V7 platforms that become
device tree only?
Shawn
> ---
> arch/arm/mach-imx/Kconfig | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index d56eb1a..29433e7 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -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
> --
> 1.8.3.2
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: i.MX: Select HAVE_IMX_SRC for i.MX5 globally
2014-05-14 17:30 ` [PATCH 2/2] ARM: i.MX: Select HAVE_IMX_SRC for i.MX5 globally Alexander Shiyan
@ 2014-05-19 5:25 ` Shawn Guo
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2014-05-19 5:25 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, May 14, 2014 at 09:30:14PM +0400, Alexander Shiyan wrote:
> 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.
>
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-05-19 5:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-14 17:30 [PATCH 1/2] ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs Alexander Shiyan
2014-05-14 17:30 ` [PATCH 2/2] ARM: i.MX: Select HAVE_IMX_SRC for i.MX5 globally Alexander Shiyan
2014-05-19 5:25 ` Shawn Guo
2014-05-19 5:23 ` [PATCH 1/2] ARM: i.MX: Open "Device tree only" Kconfig chapter for non-V7 CPUs Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).