Re: [PATCH 1/2] ARM: i.MX6: set ARCH_NR_GPIO to 244

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Wed, Jul 25, 2012 at 02:37:43PM +0200, Dirk Behme wrote:
> From: Matthias Thomae <matthias.thomae@xxxxxxxxxxxx>
> 
> Set ARCH_NR_GPIO for the i.MX6 processor family, which has 7 GPIO
> controllers with 32 signals each. The default of 256 GPIOs wastes
> some static table space as explained in Documentation/gpio.txt.
> 
> Signed-off-by: Matthias Thomae <matthias.thomae@xxxxxxxxxxxx>
> CC: Shawn Guo <shawn.guo@xxxxxxxxxx>
> ---
>  arch/arm/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index b25c9d3..5e4cde3 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1626,6 +1626,7 @@ config ARCH_NR_GPIO
>  	default 355 if ARCH_U8500
>  	default 264 if MACH_H4700
>  	default 512 if SOC_OMAP5
> +	default 224 if SOC_IMX6Q

So what if we build imx_v6_v7_defconfig with IMX6Q deselected?

-- 
Regards,
Shawn

>  	default 0
>  	help
>  	  Maximum number of GPIOs in the system.
> -- 
> 1.7.0.4
> 


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter