]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
at91: redefine legacy GPIO PIN_BASE
authorAndreas Bießmann <andreas.devel@googlemail.com>
Fri, 29 Nov 2013 11:13:44 +0000 (12:13 +0100)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 9 Dec 2013 12:21:39 +0000 (13:21 +0100)
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@googlemail.com>
arch/arm/include/asm/arch-at91/gpio.h

index b340afef19d39266a01a1292b3c52633e4bf25bc..ff6142b8aa6b7ac2e06ad868323f0a4a6d0c1cd9 100644 (file)
@@ -16,7 +16,7 @@
 
 #ifdef CONFIG_ATMEL_LEGACY
 
-#define PIN_BASE               32
+#define PIN_BASE               0
 
 #define MAX_GPIO_BANKS         5