Skip to contentSkip to conversation

serial_sh: Add support Renesas SH7752

PATCH New Shimoda 2 participants 2 messages Nov 5, 2012 – Nov 12, 2012

lore
Share & tools
lore

Shimoda

#0 lore raw

PATCH 1/1 serial_sh: Add support Renesas SH7752

---
 drivers/serial/serial_sh.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/serial_sh.h +1 -1
index a33334e..7e38a3f 100644
@@ -143,7 +143,7 @@ struct uart_port {
 #elif defined(CONFIG_H8S2678)
 # define SCSCR_INIT(port)          0x30 /* TIE=0,RIE=0,TE=1,RE=1 */
 # define H8300_SCI_DR(ch) (*(volatile char *)(P1DR + h8300_sci_pins[ch].port))
-#elif defined(CONFIG_CPU_SH7757)
+#elif defined(CONFIG_CPU_SH7757) || defined(CONFIG_CPU_SH7752)
 # define SCSPTR0 0xfe4b0020
 # define SCSPTR1 0xfe4b0020
 # define SCSPTR2 0xfe4b0020
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 serial_sh: Add support Renesas SH7752

Applied, thanks.

Best regards,
Nobuhiro

Quoted 20 lines · Yoshihiro
---
 drivers/serial/serial_sh.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/serial_sh.h +1 -2
index a33334e..7e38a3f 100644
@@ -143,7 +143,7 @@ struct uart_port {
 #elif defined(CONFIG_H8S2678)
 # define SCSCR_INIT(port)          0x30 /* TIE=0,RIE=0,TE=1,RE=1 */
 # define H8300_SCI_DR(ch) (*(volatile char *)(P1DR + h8300_sci_pins[ch].port))
-#elif defined(CONFIG_CPU_SH7757)
+#elif defined(CONFIG_CPU_SH7757) || defined(CONFIG_CPU_SH7752)
 # define SCSPTR0 0xfe4b0020
 # define SCSPTR1 0xfe4b0020
 # define SCSPTR2 0xfe4b0020
--

1.7.1

Signature · 3 lines
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6