[U-Boot] [PATCH 2/4] at91: redefine legacy GPIO PIN_BASE
Andreas Bießmann
andreas.devel at googlemail.com
Fri Nov 29 12:13:44 CET 2013
In order to get the very same value for legacy pin definitions and new gpio
definitions set the legacy PIN_BASE to 0.
Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
---
arch/arm/include/asm/arch-at91/gpio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-at91/gpio.h b/arch/arm/include/asm/arch-at91/gpio.h
index b340afe..ff6142b 100644
--- a/arch/arm/include/asm/arch-at91/gpio.h
+++ b/arch/arm/include/asm/arch-at91/gpio.h
@@ -16,7 +16,7 @@
#ifdef CONFIG_ATMEL_LEGACY
-#define PIN_BASE 32
+#define PIN_BASE 0
#define MAX_GPIO_BANKS 5
--
1.7.10.4
More information about the U-Boot
mailing list