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-bf561 | |
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-bf561')
-rw-r--r-- | arch/blackfin/mach-bf561/include/mach/defBF561.h | 38 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/include/mach/gpio.h | 2 |
2 files changed, 2 insertions, 38 deletions
diff --git a/arch/blackfin/mach-bf561/include/mach/defBF561.h b/arch/blackfin/mach-bf561/include/mach/defBF561.h index c3cd44a8ebd2..851801f0ed11 100644 --- a/arch/blackfin/mach-bf561/include/mach/defBF561.h +++ b/arch/blackfin/mach-bf561/include/mach/defBF561.h | |||
@@ -1097,44 +1097,6 @@ | |||
1097 | #define ERR_TYP_P0 0x0E | 1097 | #define ERR_TYP_P0 0x0E |
1098 | #define ERR_TYP_P1 0x0F | 1098 | #define ERR_TYP_P1 0x0F |
1099 | 1099 | ||
1100 | /*/ ****************** PROGRAMMABLE FLAG MASKS ********************* */ | ||
1101 | |||
1102 | /* General Purpose IO (0xFFC00700 - 0xFFC007FF) Masks */ | ||
1103 | #define PF0 0x0001 | ||
1104 | #define PF1 0x0002 | ||
1105 | #define PF2 0x0004 | ||
1106 | #define PF3 0x0008 | ||
1107 | #define PF4 0x0010 | ||
1108 | #define PF5 0x0020 | ||
1109 | #define PF6 0x0040 | ||
1110 | #define PF7 0x0080 | ||
1111 | #define PF8 0x0100 | ||
1112 | #define PF9 0x0200 | ||
1113 | #define PF10 0x0400 | ||
1114 | #define PF11 0x0800 | ||
1115 | #define PF12 0x1000 | ||
1116 | #define PF13 0x2000 | ||
1117 | #define PF14 0x4000 | ||
1118 | #define PF15 0x8000 | ||
1119 | |||
1120 | /* General Purpose IO (0xFFC00700 - 0xFFC007FF) BIT POSITIONS */ | ||
1121 | #define PF0_P 0 | ||
1122 | #define PF1_P 1 | ||
1123 | #define PF2_P 2 | ||
1124 | #define PF3_P 3 | ||
1125 | #define PF4_P 4 | ||
1126 | #define PF5_P 5 | ||
1127 | #define PF6_P 6 | ||
1128 | #define PF7_P 7 | ||
1129 | #define PF8_P 8 | ||
1130 | #define PF9_P 9 | ||
1131 | #define PF10_P 10 | ||
1132 | #define PF11_P 11 | ||
1133 | #define PF12_P 12 | ||
1134 | #define PF13_P 13 | ||
1135 | #define PF14_P 14 | ||
1136 | #define PF15_P 15 | ||
1137 | |||
1138 | /* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS ************* */ | 1100 | /* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS ************* */ |
1139 | 1101 | ||
1140 | /* AMGCTL Masks */ | 1102 | /* AMGCTL Masks */ |
diff --git a/arch/blackfin/mach-bf561/include/mach/gpio.h b/arch/blackfin/mach-bf561/include/mach/gpio.h index 4f8aa5d08802..57d5eab59faf 100644 --- a/arch/blackfin/mach-bf561/include/mach/gpio.h +++ b/arch/blackfin/mach-bf561/include/mach/gpio.h | |||
@@ -62,4 +62,6 @@ | |||
62 | #define PORT_FIO1 GPIO_16 | 62 | #define PORT_FIO1 GPIO_16 |
63 | #define PORT_FIO2 GPIO_32 | 63 | #define PORT_FIO2 GPIO_32 |
64 | 64 | ||
65 | #include <mach-common/ports-f.h> | ||
66 | |||
65 | #endif /* _MACH_GPIO_H_ */ | 67 | #endif /* _MACH_GPIO_H_ */ |