From: Nikita Kiryanov Date: Thu, 30 Jul 2015 20:56:22 +0000 (+0300) Subject: gpio: am43xx: expand gpio support X-Git-Tag: v2015.10-rc2~78 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4eaf126e0634d9797c00ed2650e2d1396a4a69a2;p=u-boot gpio: am43xx: expand gpio support AM43XX SoCs support up to 192 GPIO signals. Make this amount available to the driver. Cc: Albert Aribaud Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- diff --git a/arch/arm/include/asm/arch-am33xx/gpio.h b/arch/arm/include/asm/arch-am33xx/gpio.h index 220603db5a..89ab055385 100644 --- a/arch/arm/include/asm/arch-am33xx/gpio.h +++ b/arch/arm/include/asm/arch-am33xx/gpio.h @@ -6,7 +6,11 @@ #include +#ifdef CONFIG_AM43XX +#define OMAP_MAX_GPIO 192 +#else #define OMAP_MAX_GPIO 128 +#endif #define AM33XX_GPIO0_BASE 0x44E07000 #define AM33XX_GPIO1_BASE 0x4804C000