Patchwork ARM: imx: select syscon for IMX6L

login
register
mail settings
Submitter Arnd Bergmann
Date June 21, 2013, 10:39 p.m.
Message ID <201306220039.43988.arnd@arndb.de>
Download mbox | patch
Permalink /patch/253319/
State New
Headers show

Comments

Arnd Bergmann - June 21, 2013, 10:39 p.m.
This is required for building a kernel that enables only
IMX6L but not IMX6Q, which would get a build error when
syscon is not available.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Fabio Estevam - June 21, 2013, 10:43 p.m.
On Fri, Jun 21, 2013 at 7:39 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> This is required for building a kernel that enables only
> IMX6L but not IMX6Q, which would get a build error when

I think you mean IMX6SL.
Arnd Bergmann - June 21, 2013, 11:24 p.m.
On Saturday 22 June 2013, Fabio Estevam wrote:
> On Fri, Jun 21, 2013 at 7:39 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> > This is required for building a kernel that enables only
> > IMX6L but not IMX6Q, which would get a build error when
> 
> I think you mean IMX6SL.

Right. I fixed up my local copy of the patch now.

	Arnd
Shawn Guo - June 24, 2013, 7:03 a.m.
On Sat, Jun 22, 2013 at 12:39:43AM +0200, Arnd Bergmann wrote:
> This is required for building a kernel that enables only
> IMX6L but not IMX6Q, which would get a build error when
> syscon is not available.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Shawn Guo <shawn.guo@linaro.org>

Acked-by: Shawn Guo <shawn.guo@linaro.org>

> 
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index f25cf88..eef9590 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -823,6 +823,7 @@ config SOC_IMX6SL
>  	select HAVE_IMX_GPC
>  	select HAVE_IMX_MMDC
>  	select HAVE_IMX_SRC
> +	select MFD_SYSCON
>  	select PINCTRL
>  	select PINCTRL_IMX6SL
>  	select PL310_ERRATA_588369 if CACHE_PL310

Patch

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index f25cf88..eef9590 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -823,6 +823,7 @@  config SOC_IMX6SL
 	select HAVE_IMX_GPC
 	select HAVE_IMX_MMDC
 	select HAVE_IMX_SRC
+	select MFD_SYSCON
 	select PINCTRL
 	select PINCTRL_IMX6SL
 	select PL310_ERRATA_588369 if CACHE_PL310