diff mbox

[U-Boot,2/4] at91: redefine legacy GPIO PIN_BASE

Message ID 1385723626-1586-3-git-send-email-andreas.devel@googlemail.com
State Accepted, archived
Delegated to: Andreas Bießmann
Headers show

Commit Message

Andreas Bießmann Nov. 29, 2013, 11:13 a.m. UTC
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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Bießmann Dec. 9, 2013, 12:36 p.m. UTC | #1
Dear Andreas Devel,

Andreas Devel <andreas.devel@googlemail.com> writes:
>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 |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann
diff mbox

Patch

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