[PATCH 1/2] ARM: i.MX6: set ARCH_NR_GPIO to 244
From: Russell King - ARM Linux <hidden>
Date: 2012-07-30 14:29:08
From: Russell King - ARM Linux <hidden>
Date: 2012-07-30 14:29:08
On Mon, Jul 30, 2012 at 04:46:07PM +0800, Shawn Guo wrote:
On Mon, Jul 30, 2012 at 08:40:58AM +0200, Dirk Behme wrote:quoted
- Do you like to propose a better macro than SOC_IMX6Q to cover imx3/imx6, too?No, I do not see the need of this. CONFIG_ARCH_NR_GPIO is not the only way to overwrite the default number. We can define ARCH_NR_GPIOS to the number we want in IMX platform headers.
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... :)