Re: [U-Boot] [PATCH 2/2] OMAP: gpio: Introduce get_omap_gpio_count() function to get gpio count

2013-06-21 Thread Lubomir Popov
Axel, Why do you introduce a function when this stuff is constant and known to the compiler? Just put a #define in every header. You are now uselessly inflating code... Regards, Lubo On 21/06/13 11:50, Axel Lin wrote: > Now the omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoC

[U-Boot] [PATCH 2/2] OMAP: gpio: Introduce get_omap_gpio_count() function to get gpio count

2013-06-21 Thread Axel Lin
Now the omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoCs. These SoCs have various gpio count. Thus introduce get_omap_gpio_count() function to get correct gpio count. Signed-off-by: Axel Lin --- arch/arm/cpu/armv7/am33xx/board.c | 5 + arch/arm/cpu/armv7/omap3/board.c |