diff options
Diffstat (limited to 'drivers/serial/sh-sci.h')
-rw-r--r-- | drivers/serial/sh-sci.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index 247fb66bf0f4..dd05b3403d2f 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h | |||
@@ -86,12 +86,6 @@ | |||
86 | # define PBCR 0xa4050102 | 86 | # define PBCR 0xa4050102 |
87 | # define SCSCR_INIT(port) 0x3B | 87 | # define SCSCR_INIT(port) 0x3B |
88 | # define SCIF_ONLY | 88 | # define SCIF_ONLY |
89 | #elif defined(CONFIG_CPU_SUBTYPE_SH73180) | ||
90 | # define SCPDR 0xA4050138 /* 16 bit SCIF */ | ||
91 | # define SCSPTR2 SCPDR | ||
92 | # define SCIF_ORER 0x0001 /* overrun error bit */ | ||
93 | # define SCSCR_INIT(port) 0x0038 /* TIE=0,RIE=0,TE=1,RE=1 */ | ||
94 | # define SCIF_ONLY | ||
95 | #elif defined(CONFIG_CPU_SUBTYPE_SH7343) | 89 | #elif defined(CONFIG_CPU_SUBTYPE_SH7343) |
96 | # define SCSPTR0 0xffe00010 /* 16 bit SCIF */ | 90 | # define SCSPTR0 0xffe00010 /* 16 bit SCIF */ |
97 | # define SCSPTR1 0xffe10010 /* 16 bit SCIF */ | 91 | # define SCSPTR1 0xffe10010 /* 16 bit SCIF */ |
@@ -569,11 +563,6 @@ static inline int sci_rxd_in(struct uart_port *port) | |||
569 | return ctrl_inb(SCPDR)&0x01 ? 1 : 0; /* SCIF0 */ | 563 | return ctrl_inb(SCPDR)&0x01 ? 1 : 0; /* SCIF0 */ |
570 | return 1; | 564 | return 1; |
571 | } | 565 | } |
572 | #elif defined(CONFIG_CPU_SUBTYPE_SH73180) | ||
573 | static inline int sci_rxd_in(struct uart_port *port) | ||
574 | { | ||
575 | return ctrl_inb(SCPDR)&0x01 ? 1 : 0; /* SCIF0 */ | ||
576 | } | ||
577 | #elif defined(CONFIG_CPU_SUBTYPE_SH7343) | 566 | #elif defined(CONFIG_CPU_SUBTYPE_SH7343) |
578 | static inline int sci_rxd_in(struct uart_port *port) | 567 | static inline int sci_rxd_in(struct uart_port *port) |
579 | { | 568 | { |