diff options
-rw-r--r-- | arch/arm/include/asm/arch-am33xx/gpio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/gpio.h b/arch/arm/include/asm/arch-am33xx/gpio.h index 220603d..89ab055 100644 --- a/arch/arm/include/asm/arch-am33xx/gpio.h +++ b/arch/arm/include/asm/arch-am33xx/gpio.h @@ -6,7 +6,11 @@ #include <asm/omap_gpio.h> +#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 |