diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-24 04:53:33 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-24 04:53:33 -0400 |
commit | 00b9de9c249f51f09c19aa41cbbb3e3eb4eea807 (patch) | |
tree | 28715dbc2472e6da8b7d670e63439172a1de9a6b /arch/sh/kernel/cpu/sh2a/setup-sh7201.c | |
parent | bb38c222e07cbe252cfbd99cd6a9c834b0a2639a (diff) |
serial: sh-sci: Move SCSCR_INIT in to platform data.
This moves all of the SCSCR_INIT definitions in to the platform data,
for future consolidation.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh2a/setup-sh7201.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh2a/setup-sh7201.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c index d8febe128066..2a2ac222f9c7 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c +++ b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c | |||
@@ -181,41 +181,49 @@ static struct plat_sci_port sci_platform_data[] = { | |||
181 | { | 181 | { |
182 | .mapbase = 0xfffe8000, | 182 | .mapbase = 0xfffe8000, |
183 | .flags = UPF_BOOT_AUTOCONF, | 183 | .flags = UPF_BOOT_AUTOCONF, |
184 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
184 | .type = PORT_SCIF, | 185 | .type = PORT_SCIF, |
185 | .irqs = { 180, 180, 180, 180 } | 186 | .irqs = { 180, 180, 180, 180 } |
186 | }, { | 187 | }, { |
187 | .mapbase = 0xfffe8800, | 188 | .mapbase = 0xfffe8800, |
188 | .flags = UPF_BOOT_AUTOCONF, | 189 | .flags = UPF_BOOT_AUTOCONF, |
190 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
189 | .type = PORT_SCIF, | 191 | .type = PORT_SCIF, |
190 | .irqs = { 184, 184, 184, 184 } | 192 | .irqs = { 184, 184, 184, 184 } |
191 | }, { | 193 | }, { |
192 | .mapbase = 0xfffe9000, | 194 | .mapbase = 0xfffe9000, |
193 | .flags = UPF_BOOT_AUTOCONF, | 195 | .flags = UPF_BOOT_AUTOCONF, |
196 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
194 | .type = PORT_SCIF, | 197 | .type = PORT_SCIF, |
195 | .irqs = { 188, 188, 188, 188 } | 198 | .irqs = { 188, 188, 188, 188 } |
196 | }, { | 199 | }, { |
197 | .mapbase = 0xfffe9800, | 200 | .mapbase = 0xfffe9800, |
198 | .flags = UPF_BOOT_AUTOCONF, | 201 | .flags = UPF_BOOT_AUTOCONF, |
202 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
199 | .type = PORT_SCIF, | 203 | .type = PORT_SCIF, |
200 | .irqs = { 192, 192, 192, 192 } | 204 | .irqs = { 192, 192, 192, 192 } |
201 | }, { | 205 | }, { |
202 | .mapbase = 0xfffea000, | 206 | .mapbase = 0xfffea000, |
203 | .flags = UPF_BOOT_AUTOCONF, | 207 | .flags = UPF_BOOT_AUTOCONF, |
208 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
204 | .type = PORT_SCIF, | 209 | .type = PORT_SCIF, |
205 | .irqs = { 196, 196, 196, 196 } | 210 | .irqs = { 196, 196, 196, 196 } |
206 | }, { | 211 | }, { |
207 | .mapbase = 0xfffea800, | 212 | .mapbase = 0xfffea800, |
208 | .flags = UPF_BOOT_AUTOCONF, | 213 | .flags = UPF_BOOT_AUTOCONF, |
214 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
209 | .type = PORT_SCIF, | 215 | .type = PORT_SCIF, |
210 | .irqs = { 200, 200, 200, 200 } | 216 | .irqs = { 200, 200, 200, 200 } |
211 | }, { | 217 | }, { |
212 | .mapbase = 0xfffeb000, | 218 | .mapbase = 0xfffeb000, |
213 | .flags = UPF_BOOT_AUTOCONF, | 219 | .flags = UPF_BOOT_AUTOCONF, |
220 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
214 | .type = PORT_SCIF, | 221 | .type = PORT_SCIF, |
215 | .irqs = { 204, 204, 204, 204 } | 222 | .irqs = { 204, 204, 204, 204 } |
216 | }, { | 223 | }, { |
217 | .mapbase = 0xfffeb800, | 224 | .mapbase = 0xfffeb800, |
218 | .flags = UPF_BOOT_AUTOCONF, | 225 | .flags = UPF_BOOT_AUTOCONF, |
226 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
219 | .type = PORT_SCIF, | 227 | .type = PORT_SCIF, |
220 | .irqs = { 208, 208, 208, 208 } | 228 | .irqs = { 208, 208, 208, 208 } |
221 | }, { | 229 | }, { |