Commit e9e8b1fb authored by Paul Mundt's avatar Paul Mundt

sh: Fix up the sh64 earlyprintk build.

sci_rxd_in() on SH-5 wants to be using SCSPTR, not SCSPTR2.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent cd89436e
...@@ -636,7 +636,7 @@ static inline int sci_rxd_in(struct uart_port *port) ...@@ -636,7 +636,7 @@ static inline int sci_rxd_in(struct uart_port *port)
#elif defined(CONFIG_CPU_SUBTYPE_SH5_101) || defined(CONFIG_CPU_SUBTYPE_SH5_103) #elif defined(CONFIG_CPU_SUBTYPE_SH5_101) || defined(CONFIG_CPU_SUBTYPE_SH5_103)
static inline int sci_rxd_in(struct uart_port *port) static inline int sci_rxd_in(struct uart_port *port)
{ {
return sci_in(port, SCSPTR2)&0x0001 ? 1 : 0; /* SCIF */ return sci_in(port, SCSPTR)&0x0001 ? 1 : 0; /* SCIF */
} }
#elif defined(__H8300H__) || defined(__H8300S__) #elif defined(__H8300H__) || defined(__H8300S__)
static inline int sci_rxd_in(struct uart_port *port) static inline int sci_rxd_in(struct uart_port *port)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment