diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-12-16 06:07:27 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:44:43 -0500 |
commit | d5701647f1aaaea5da20023976d86af79ab84707 (patch) | |
tree | bbab402d7c58fabd874b390736515723bce69a96 /drivers/serial/sh-sci.h | |
parent | d830fa4584a4015989b9b396a80779f28f277baa (diff) |
serial: sh-sci: Generalize port pin initialization.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial/sh-sci.h')
-rw-r--r-- | drivers/serial/sh-sci.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index 4479a91e2479..38c600c0dbbf 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h | |||
@@ -507,18 +507,6 @@ static inline int sci_rxd_in(struct uart_port *port) | |||
507 | { | 507 | { |
508 | return sci_in(port,SCxSR)&0x0010 ? 1 : 0; | 508 | return sci_in(port,SCxSR)&0x0010 ? 1 : 0; |
509 | } | 509 | } |
510 | static inline void set_sh771x_scif_pfc(struct uart_port *port) | ||
511 | { | ||
512 | if (port->mapbase == 0xA4400000){ | ||
513 | ctrl_outw(ctrl_inw(PACR)&0xffc0,PACR); | ||
514 | ctrl_outw(ctrl_inw(PBCR)&0x0fff,PBCR); | ||
515 | return; | ||
516 | } | ||
517 | if (port->mapbase == 0xA4410000){ | ||
518 | ctrl_outw(ctrl_inw(PBCR)&0xf003,PBCR); | ||
519 | return; | ||
520 | } | ||
521 | } | ||
522 | #elif defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 510 | #elif defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
523 | defined(CONFIG_CPU_SUBTYPE_SH7721) | 511 | defined(CONFIG_CPU_SUBTYPE_SH7721) |
524 | static inline int sci_rxd_in(struct uart_port *port) | 512 | static inline int sci_rxd_in(struct uart_port *port) |