aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2007-05-21 06:09:18 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-21 12:50:22 -0400
commit678402709602a5e62bb79454f0f41bd952373300 (patch)
tree61d1d77be6c9c296ff09358e315bfe6e6ea07d9f /include
parent23ee968d96ef5ad564c0f0b8a30412fb93137ebb (diff)
Blackfin arch: GPIO fix some defines
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-blackfin/gpio.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/asm-blackfin/gpio.h b/include/asm-blackfin/gpio.h
index d16fe3cd6135..aa0d5503e232 100644
--- a/include/asm-blackfin/gpio.h
+++ b/include/asm-blackfin/gpio.h
@@ -148,10 +148,6 @@
148 148
149#ifdef BF537_FAMILY 149#ifdef BF537_FAMILY
150#define MAX_BLACKFIN_GPIOS 48 150#define MAX_BLACKFIN_GPIOS 48
151#define PORT_F 0
152#define PORT_G 1
153#define PORT_H 2
154#define PORT_J 3
155 151
156#define GPIO_PF0 0 152#define GPIO_PF0 0
157#define GPIO_PF1 1 153#define GPIO_PF1 1
@@ -202,13 +198,17 @@
202#define GPIO_PH14 46 198#define GPIO_PH14 46
203#define GPIO_PH15 47 199#define GPIO_PH15 47
204 200
201#define PORT_F GPIO_PF0
202#define PORT_G GPIO_PG0
203#define PORT_H GPIO_PH0
204
205#endif 205#endif
206 206
207#ifdef BF561_FAMILY 207#ifdef BF561_FAMILY
208#define MAX_BLACKFIN_GPIOS 48 208#define MAX_BLACKFIN_GPIOS 48
209#define PORT_FIO0 0 209#define PORT_FIO0 GPIO_0
210#define PORT_FIO1 1 210#define PORT_FIO1 GPIO_16
211#define PORT_FIO2 2 211#define PORT_FIO2 GPIO_32
212#endif 212#endif
213 213
214#ifndef __ASSEMBLY__ 214#ifndef __ASSEMBLY__