Skip to contentSkip to conversation

serial_sh: add support for SH7753

PATCH New Shimoda 2 participants 2 messages Dec 18, 2013

lore
Share & tools
lore

Shimoda

#0 lore raw

PATCH v2 3/3 serial_sh: add support for SH7753

---
about v2:
- The patch doesn't remove the CONFIG_CPU_SH7752.

 drivers/serial/serial_sh.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/serial/serial_sh.h +3 -1
index 556b868..f5e9854 100644
@@ -143,7 +143,9 @@ 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) || defined(CONFIG_CPU_SH7752)
+#elif defined(CONFIG_CPU_SH7757) || \
+	defined(CONFIG_CPU_SH7752) || \
+	defined(CONFIG_CPU_SH7753)
 # define SCSPTR0 0xfe4b0020
 # define SCSPTR1 0xfe4b0020
 # define SCSPTR2 0xfe4b0020
Signature · 1 line
1.7.1
#1 lore raw

PATCH v2 3/3 serial_sh: add support for SH7753

Hi,

Applied, thanks.

Nobuhiro

2013/12/18 Shimoda, Yoshihiro <[email protected]>:

Quoted 25 lines

---
about v2:
- The patch doesn't remove the CONFIG_CPU_SH7752.

 drivers/serial/serial_sh.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/serial/serial_sh.h +3 -2
index 556b868..f5e9854 100644
@@ -143,7 +143,9 @@ 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) || defined(CONFIG_CPU_SH7752)
+#elif defined(CONFIG_CPU_SH7757) || \
+       defined(CONFIG_CPU_SH7752) || \
+       defined(CONFIG_CPU_SH7753)
 # 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