diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-25 21:11:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 07:18:06 -0500 |
commit | 4de2bf8786ec8ec9a45b556e1ddf5c80c807a361 (patch) | |
tree | 7ac3dbd87b81d207c8417b5e581122ff5dba0fa4 /arch/blackfin/mach-bf537 | |
parent | 9887f41533c860777b2fcf2eccf04f95980ab52a (diff) |
Blackfin: push gpio (port) defines into common headers
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/include/mach/defBF534.h | 56 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/include/mach/gpio.h | 4 |
2 files changed, 4 insertions, 56 deletions
diff --git a/arch/blackfin/mach-bf537/include/mach/defBF534.h b/arch/blackfin/mach-bf537/include/mach/defBF534.h index b8c1b6fb81f4..bfcd82ed635b 100644 --- a/arch/blackfin/mach-bf537/include/mach/defBF534.h +++ b/arch/blackfin/mach-bf537/include/mach/defBF534.h | |||
@@ -1095,62 +1095,6 @@ | |||
1095 | #define EMU_RUN 0x0200 /* Emulation Behavior Select */ | 1095 | #define EMU_RUN 0x0200 /* Emulation Behavior Select */ |
1096 | #define ERR_TYP 0xC000 /* Error Type */ | 1096 | #define ERR_TYP 0xC000 /* Error Type */ |
1097 | 1097 | ||
1098 | /* ****************** GPIO PORTS F, G, H MASKS ***********************/ | ||
1099 | /* General Purpose IO (0xFFC00700 - 0xFFC007FF) Masks */ | ||
1100 | /* Port F Masks */ | ||
1101 | #define PF0 0x0001 | ||
1102 | #define PF1 0x0002 | ||
1103 | #define PF2 0x0004 | ||
1104 | #define PF3 0x0008 | ||
1105 | #define PF4 0x0010 | ||
1106 | #define PF5 0x0020 | ||
1107 | #define PF6 0x0040 | ||
1108 | #define PF7 0x0080 | ||
1109 | #define PF8 0x0100 | ||
1110 | #define PF9 0x0200 | ||
1111 | #define PF10 0x0400 | ||
1112 | #define PF11 0x0800 | ||
1113 | #define PF12 0x1000 | ||
1114 | #define PF13 0x2000 | ||
1115 | #define PF14 0x4000 | ||
1116 | #define PF15 0x8000 | ||
1117 | |||
1118 | /* Port G Masks */ | ||
1119 | #define PG0 0x0001 | ||
1120 | #define PG1 0x0002 | ||
1121 | #define PG2 0x0004 | ||
1122 | #define PG3 0x0008 | ||
1123 | #define PG4 0x0010 | ||
1124 | #define PG5 0x0020 | ||
1125 | #define PG6 0x0040 | ||
1126 | #define PG7 0x0080 | ||
1127 | #define PG8 0x0100 | ||
1128 | #define PG9 0x0200 | ||
1129 | #define PG10 0x0400 | ||
1130 | #define PG11 0x0800 | ||
1131 | #define PG12 0x1000 | ||
1132 | #define PG13 0x2000 | ||
1133 | #define PG14 0x4000 | ||
1134 | #define PG15 0x8000 | ||
1135 | |||
1136 | /* Port H Masks */ | ||
1137 | #define PH0 0x0001 | ||
1138 | #define PH1 0x0002 | ||
1139 | #define PH2 0x0004 | ||
1140 | #define PH3 0x0008 | ||
1141 | #define PH4 0x0010 | ||
1142 | #define PH5 0x0020 | ||
1143 | #define PH6 0x0040 | ||
1144 | #define PH7 0x0080 | ||
1145 | #define PH8 0x0100 | ||
1146 | #define PH9 0x0200 | ||
1147 | #define PH10 0x0400 | ||
1148 | #define PH11 0x0800 | ||
1149 | #define PH12 0x1000 | ||
1150 | #define PH13 0x2000 | ||
1151 | #define PH14 0x4000 | ||
1152 | #define PH15 0x8000 | ||
1153 | |||
1154 | /* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS *************************/ | 1098 | /* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS *************************/ |
1155 | /* EBIU_AMGCTL Masks */ | 1099 | /* EBIU_AMGCTL Masks */ |
1156 | #define AMCKEN 0x0001 /* Enable CLKOUT */ | 1100 | #define AMCKEN 0x0001 /* Enable CLKOUT */ |
diff --git a/arch/blackfin/mach-bf537/include/mach/gpio.h b/arch/blackfin/mach-bf537/include/mach/gpio.h index f80c2995efdb..fba606b699c3 100644 --- a/arch/blackfin/mach-bf537/include/mach/gpio.h +++ b/arch/blackfin/mach-bf537/include/mach/gpio.h | |||
@@ -62,4 +62,8 @@ | |||
62 | #define PORT_G GPIO_PG0 | 62 | #define PORT_G GPIO_PG0 |
63 | #define PORT_H GPIO_PH0 | 63 | #define PORT_H GPIO_PH0 |
64 | 64 | ||
65 | #include <mach-common/ports-f.h> | ||
66 | #include <mach-common/ports-g.h> | ||
67 | #include <mach-common/ports-h.h> | ||
68 | |||
65 | #endif /* _MACH_GPIO_H_ */ | 69 | #endif /* _MACH_GPIO_H_ */ |