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

Shawn Guo shawn.guo at linaro.org
Mon Jul 30 21:16:11 EDT 2012


On Mon, Jul 30, 2012 at 03:29:08PM +0100, Russell King - ARM Linux wrote:
> Don't do that.  CONFIG_ARCH_NR_GPIO is there so that we can consolidate
> out as much crap from mach/gpio.h as possible.  Either use it now, or I
> will patch you to make you use it.  Either way, you will end up using
> it... :)

Right.  I was wrong on that.  But I still maintain my position that
there is no much point to define CONFIG_ARCH_NR_GPIO as 224 for space
saving.  I would rather not use it for IMX until we have an IMX SoC
implementing more than 256 gpio.

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list