Commit 67840270 authored by Michael Hennerich's avatar Michael Hennerich Committed by Linus Torvalds

Blackfin arch: GPIO fix some defines

Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 23ee968d
...@@ -148,10 +148,6 @@ ...@@ -148,10 +148,6 @@
#ifdef BF537_FAMILY #ifdef BF537_FAMILY
#define MAX_BLACKFIN_GPIOS 48 #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_PF0 0
#define GPIO_PF1 1 #define GPIO_PF1 1
...@@ -202,13 +198,17 @@ ...@@ -202,13 +198,17 @@
#define GPIO_PH14 46 #define GPIO_PH14 46
#define GPIO_PH15 47 #define GPIO_PH15 47
#define PORT_F GPIO_PF0
#define PORT_G GPIO_PG0
#define PORT_H GPIO_PH0
#endif #endif
#ifdef BF561_FAMILY #ifdef BF561_FAMILY
#define MAX_BLACKFIN_GPIOS 48 #define MAX_BLACKFIN_GPIOS 48
#define PORT_FIO0 0 #define PORT_FIO0 GPIO_0
#define PORT_FIO1 1 #define PORT_FIO1 GPIO_16
#define PORT_FIO2 2 #define PORT_FIO2 GPIO_32
#endif #endif
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment