diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-blackfin/gpio.h | 14 |
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__ |