From 4af2259a5d896133204e263177ed5d0c8dac2ab0 Mon Sep 17 00:00:00 2001 From: Michael Hennerich Date: Mon, 21 May 2007 18:09:18 +0800 Subject: [PATCH] --- yaml --- r: 56643 b: refs/heads/master c: 678402709602a5e62bb79454f0f41bd952373300 h: refs/heads/master i: 56641: d712ffe24feb76c7cfa6b78745f170e52eb5eba5 56639: c36ded5cca4d770c2eedebdde260a9c7296fbbd0 v: v3 --- [refs] | 2 +- trunk/include/asm-blackfin/gpio.h | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 4c3181cdd627..b00c0a025349 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 23ee968d96ef5ad564c0f0b8a30412fb93137ebb +refs/heads/master: 678402709602a5e62bb79454f0f41bd952373300 diff --git a/trunk/include/asm-blackfin/gpio.h b/trunk/include/asm-blackfin/gpio.h index d16fe3cd6135..aa0d5503e232 100644 --- a/trunk/include/asm-blackfin/gpio.h +++ b/trunk/include/asm-blackfin/gpio.h @@ -148,10 +148,6 @@ #ifdef BF537_FAMILY #define MAX_BLACKFIN_GPIOS 48 -#define PORT_F 0 -#define PORT_G 1 -#define PORT_H 2 -#define PORT_J 3 #define GPIO_PF0 0 #define GPIO_PF1 1 @@ -202,13 +198,17 @@ #define GPIO_PH14 46 #define GPIO_PH15 47 +#define PORT_F GPIO_PF0 +#define PORT_G GPIO_PG0 +#define PORT_H GPIO_PH0 + #endif #ifdef BF561_FAMILY #define MAX_BLACKFIN_GPIOS 48 -#define PORT_FIO0 0 -#define PORT_FIO1 1 -#define PORT_FIO2 2 +#define PORT_FIO0 GPIO_0 +#define PORT_FIO1 GPIO_16 +#define PORT_FIO2 GPIO_32 #endif #ifndef __ASSEMBLY__