aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2008-04-23 16:43:14 -0400
committerBryan Wu <cooloney@kernel.org>2008-04-23 16:43:14 -0400
commit6ed839423073251b513664fdadb180634aed704b (patch)
tree073350299070ba091f4fb4fb146b9a931edc44b8 /arch/blackfin
parentdb68254f0639a357309f02cf8707490265fa7a31 (diff)
[Blackfin] arch: Resolve the clash issue of UART defines between blackfin headers and include/linux/serial_reg.
Signed-off-by: Graf Yang <graf.yang@analog.com> Cc: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/bfin_gpio.c16
-rw-r--r--arch/blackfin/mach-bf533/head.S16
-rw-r--r--arch/blackfin/mach-bf537/head.S16
-rw-r--r--arch/blackfin/mach-bf561/head.S16
4 files changed, 32 insertions, 32 deletions
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c
index 7e8ceea9b5d1..72477c252a94 100644
--- a/arch/blackfin/kernel/bfin_gpio.c
+++ b/arch/blackfin/kernel/bfin_gpio.c
@@ -95,14 +95,14 @@ enum {
95 AWA_data_clear = SYSCR, 95 AWA_data_clear = SYSCR,
96 AWA_data_set = SYSCR, 96 AWA_data_set = SYSCR,
97 AWA_toggle = SYSCR, 97 AWA_toggle = SYSCR,
98 AWA_maska = UART_SCR, 98 AWA_maska = BFIN_UART_SCR,
99 AWA_maska_clear = UART_SCR, 99 AWA_maska_clear = BFIN_UART_SCR,
100 AWA_maska_set = UART_SCR, 100 AWA_maska_set = BFIN_UART_SCR,
101 AWA_maska_toggle = UART_SCR, 101 AWA_maska_toggle = BFIN_UART_SCR,
102 AWA_maskb = UART_GCTL, 102 AWA_maskb = BFIN_UART_GCTL,
103 AWA_maskb_clear = UART_GCTL, 103 AWA_maskb_clear = BFIN_UART_GCTL,
104 AWA_maskb_set = UART_GCTL, 104 AWA_maskb_set = BFIN_UART_GCTL,
105 AWA_maskb_toggle = UART_GCTL, 105 AWA_maskb_toggle = BFIN_UART_GCTL,
106 AWA_dir = SPORT1_STAT, 106 AWA_dir = SPORT1_STAT,
107 AWA_polar = SPORT1_STAT, 107 AWA_polar = SPORT1_STAT,
108 AWA_edge = SPORT1_STAT, 108 AWA_edge = SPORT1_STAT,
diff --git a/arch/blackfin/mach-bf533/head.S b/arch/blackfin/mach-bf533/head.S
index 1ded945a6fa0..d9ba2b11e013 100644
--- a/arch/blackfin/mach-bf533/head.S
+++ b/arch/blackfin/mach-bf533/head.S
@@ -151,26 +151,26 @@ ENTRY(__start)
151 151
152 /* Initialise UART - when booting from u-boot, the UART is not disabled 152 /* Initialise UART - when booting from u-boot, the UART is not disabled
153 * so if we dont initalize here, our serial console gets hosed */ 153 * so if we dont initalize here, our serial console gets hosed */
154 p0.h = hi(UART_LCR); 154 p0.h = hi(BFIN_UART_LCR);
155 p0.l = lo(UART_LCR); 155 p0.l = lo(BFIN_UART_LCR);
156 r0 = 0x0(Z); 156 r0 = 0x0(Z);
157 w[p0] = r0.L; /* To enable DLL writes */ 157 w[p0] = r0.L; /* To enable DLL writes */
158 ssync; 158 ssync;
159 159
160 p0.h = hi(UART_DLL); 160 p0.h = hi(BFIN_UART_DLL);
161 p0.l = lo(UART_DLL); 161 p0.l = lo(BFIN_UART_DLL);
162 r0 = 0x0(Z); 162 r0 = 0x0(Z);
163 w[p0] = r0.L; 163 w[p0] = r0.L;
164 ssync; 164 ssync;
165 165
166 p0.h = hi(UART_DLH); 166 p0.h = hi(BFIN_UART_DLH);
167 p0.l = lo(UART_DLH); 167 p0.l = lo(BFIN_UART_DLH);
168 r0 = 0x00(Z); 168 r0 = 0x00(Z);
169 w[p0] = r0.L; 169 w[p0] = r0.L;
170 ssync; 170 ssync;
171 171
172 p0.h = hi(UART_GCTL); 172 p0.h = hi(BFIN_UART_GCTL);
173 p0.l = lo(UART_GCTL); 173 p0.l = lo(BFIN_UART_GCTL);
174 r0 = 0x0(Z); 174 r0 = 0x0(Z);
175 w[p0] = r0.L; /* To enable UART clock */ 175 w[p0] = r0.L; /* To enable UART clock */
176 ssync; 176 ssync;
diff --git a/arch/blackfin/mach-bf537/head.S b/arch/blackfin/mach-bf537/head.S
index ac85fdfbfd01..9e9fac9c6345 100644
--- a/arch/blackfin/mach-bf537/head.S
+++ b/arch/blackfin/mach-bf537/head.S
@@ -182,26 +182,26 @@ ENTRY(__start)
182 182
183 /* Initialise UART - when booting from u-boot, the UART is not disabled 183 /* Initialise UART - when booting from u-boot, the UART is not disabled
184 * so if we dont initalize here, our serial console gets hosed */ 184 * so if we dont initalize here, our serial console gets hosed */
185 p0.h = hi(UART_LCR); 185 p0.h = hi(BFIN_UART_LCR);
186 p0.l = lo(UART_LCR); 186 p0.l = lo(BFIN_UART_LCR);
187 r0 = 0x0(Z); 187 r0 = 0x0(Z);
188 w[p0] = r0.L; /* To enable DLL writes */ 188 w[p0] = r0.L; /* To enable DLL writes */
189 ssync; 189 ssync;
190 190
191 p0.h = hi(UART_DLL); 191 p0.h = hi(BFIN_UART_DLL);
192 p0.l = lo(UART_DLL); 192 p0.l = lo(BFIN_UART_DLL);
193 r0 = 0x0(Z); 193 r0 = 0x0(Z);
194 w[p0] = r0.L; 194 w[p0] = r0.L;
195 ssync; 195 ssync;
196 196
197 p0.h = hi(UART_DLH); 197 p0.h = hi(BFIN_UART_DLH);
198 p0.l = lo(UART_DLH); 198 p0.l = lo(BFIN_UART_DLH);
199 r0 = 0x00(Z); 199 r0 = 0x00(Z);
200 w[p0] = r0.L; 200 w[p0] = r0.L;
201 ssync; 201 ssync;
202 202
203 p0.h = hi(UART_GCTL); 203 p0.h = hi(BFIN_UART_GCTL);
204 p0.l = lo(UART_GCTL); 204 p0.l = lo(BFIN_UART_GCTL);
205 r0 = 0x0(Z); 205 r0 = 0x0(Z);
206 w[p0] = r0.L; /* To enable UART clock */ 206 w[p0] = r0.L; /* To enable UART clock */
207 ssync; 207 ssync;
diff --git a/arch/blackfin/mach-bf561/head.S b/arch/blackfin/mach-bf561/head.S
index 96a3d456fb6d..279e2e812a27 100644
--- a/arch/blackfin/mach-bf561/head.S
+++ b/arch/blackfin/mach-bf561/head.S
@@ -139,26 +139,26 @@ ENTRY(__start)
139 139
140 /* Initialise UART - when booting from u-boot, the UART is not disabled 140 /* Initialise UART - when booting from u-boot, the UART is not disabled
141 * so if we dont initalize here, our serial console gets hosed */ 141 * so if we dont initalize here, our serial console gets hosed */
142 p0.h = hi(UART_LCR); 142 p0.h = hi(BFIN_UART_LCR);
143 p0.l = lo(UART_LCR); 143 p0.l = lo(BFIN_UART_LCR);
144 r0 = 0x0(Z); 144 r0 = 0x0(Z);
145 w[p0] = r0.L; /* To enable DLL writes */ 145 w[p0] = r0.L; /* To enable DLL writes */
146 ssync; 146 ssync;
147 147
148 p0.h = hi(UART_DLL); 148 p0.h = hi(BFIN_UART_DLL);
149 p0.l = lo(UART_DLL); 149 p0.l = lo(BFIN_UART_DLL);
150 r0 = 0x0(Z); 150 r0 = 0x0(Z);
151 w[p0] = r0.L; 151 w[p0] = r0.L;
152 ssync; 152 ssync;
153 153
154 p0.h = hi(UART_DLH); 154 p0.h = hi(BFIN_UART_DLH);
155 p0.l = lo(UART_DLH); 155 p0.l = lo(BFIN_UART_DLH);
156 r0 = 0x00(Z); 156 r0 = 0x00(Z);
157 w[p0] = r0.L; 157 w[p0] = r0.L;
158 ssync; 158 ssync;
159 159
160 p0.h = hi(UART_GCTL); 160 p0.h = hi(BFIN_UART_GCTL);
161 p0.l = lo(UART_GCTL); 161 p0.l = lo(BFIN_UART_GCTL);
162 r0 = 0x0(Z); 162 r0 = 0x0(Z);
163 w[p0] = r0.L; /* To enable UART clock */ 163 w[p0] = r0.L; /* To enable UART clock */
164 ssync; 164 ssync;