aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/sh-sci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/sh-sci.h')
-rw-r--r--drivers/serial/sh-sci.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h
index cde06a481829..0187dccfe8c1 100644
--- a/drivers/serial/sh-sci.h
+++ b/drivers/serial/sh-sci.h
@@ -143,7 +143,8 @@
143# define SCSCR_INIT(port) 0x3a /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ 143# define SCSCR_INIT(port) 0x3a /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */
144# define SCIF_ONLY 144# define SCIF_ONLY
145#elif defined(CONFIG_CPU_SUBTYPE_SH7203) || \ 145#elif defined(CONFIG_CPU_SUBTYPE_SH7203) || \
146 defined(CONFIG_CPU_SUBTYPE_SH7206) 146 defined(CONFIG_CPU_SUBTYPE_SH7206) || \
147 defined(CONFIG_CPU_SUBTYPE_SH7263)
147# define SCSPTR0 0xfffe8020 /* 16 bit SCIF */ 148# define SCSPTR0 0xfffe8020 /* 16 bit SCIF */
148# define SCSPTR1 0xfffe8820 /* 16 bit SCIF */ 149# define SCSPTR1 0xfffe8820 /* 16 bit SCIF */
149# define SCSPTR2 0xfffe9020 /* 16 bit SCIF */ 150# define SCSPTR2 0xfffe9020 /* 16 bit SCIF */
@@ -619,7 +620,8 @@ static inline int sci_rxd_in(struct uart_port *port)
619 return 1; 620 return 1;
620} 621}
621#elif defined(CONFIG_CPU_SUBTYPE_SH7203) || \ 622#elif defined(CONFIG_CPU_SUBTYPE_SH7203) || \
622 defined(CONFIG_CPU_SUBTYPE_SH7206) 623 defined(CONFIG_CPU_SUBTYPE_SH7206) || \
624 defined(CONFIG_CPU_SUBTYPE_SH7263)
623static inline int sci_rxd_in(struct uart_port *port) 625static inline int sci_rxd_in(struct uart_port *port)
624{ 626{
625 if (port->mapbase == 0xfffe8000) 627 if (port->mapbase == 0xfffe8000)