diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2007-03-27 05:13:51 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-05-06 22:10:54 -0400 |
commit | 9465a54fa4a9da628091c372baa84120f8304587 (patch) | |
tree | ef34abf9debce228b0985e0fb783ca46939e626a /drivers/serial/sh-sci.c | |
parent | c86c5a910451dd5a30e62a9e36d8e9b3c7a0c1d1 (diff) |
sh: MS7712SE01 board support.
Support the SH7712 (SH3-DSP) Solution Engine reference board.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial/sh-sci.c')
-rw-r--r-- | drivers/serial/sh-sci.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index 8f387219287f..0a34fa9e0733 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c | |||
@@ -284,12 +284,23 @@ static void sci_init_pins_irda(struct uart_port *port, unsigned int cflag) | |||
284 | #endif | 284 | #endif |
285 | 285 | ||
286 | #if defined(SCIF_ONLY) || defined(SCI_AND_SCIF) | 286 | #if defined(SCIF_ONLY) || defined(SCI_AND_SCIF) |
287 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) || defined(CONFIG_CPU_SUBTYPE_SH7710) | 287 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) |
288 | /* SH7300 doesn't use RTS/CTS */ | 288 | /* SH7300 doesn't use RTS/CTS */ |
289 | static void sci_init_pins_scif(struct uart_port *port, unsigned int cflag) | 289 | static void sci_init_pins_scif(struct uart_port *port, unsigned int cflag) |
290 | { | 290 | { |
291 | sci_out(port, SCFCR, 0); | 291 | sci_out(port, SCFCR, 0); |
292 | } | 292 | } |
293 | #elif defined(CONFIG_CPU_SUBTYPE_SH7710) || defined(CONFIG_CPU_SUBTYPE_SH7712) | ||
294 | static void sci_init_pins_scif(struct uart_port* port, unsigned int cflag) | ||
295 | { | ||
296 | unsigned int fcr_val = 0; | ||
297 | |||
298 | set_sh771x_scif_pfc(port); | ||
299 | if (cflag & CRTSCTS) { | ||
300 | fcr_val |= SCFCR_MCE; | ||
301 | } | ||
302 | sci_out(port, SCFCR, fcr_val); | ||
303 | } | ||
293 | #elif defined(CONFIG_CPU_SH3) | 304 | #elif defined(CONFIG_CPU_SH3) |
294 | /* For SH7705, SH7706, SH7707, SH7709, SH7709A, SH7729 */ | 305 | /* For SH7705, SH7706, SH7707, SH7709, SH7709A, SH7729 */ |
295 | static void sci_init_pins_scif(struct uart_port *port, unsigned int cflag) | 306 | static void sci_init_pins_scif(struct uart_port *port, unsigned int cflag) |