Patchwork [U-Boot] serial_sh: Add support Renesas SH7752

login
register
mail settings
Submitter Yoshihiro Shimoda
Date Nov. 5, 2012, 1:54 a.m.
Message ID <50971C4C.6090207@renesas.com>
Download mbox | patch
Permalink /patch/197120/
State Accepted, archived
Delegated to: Nobuhiro Iwamatsu
Headers show

Comments

Yoshihiro Shimoda - Nov. 5, 2012, 1:54 a.m.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
 drivers/serial/serial_sh.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Nobuhiro Iwamatsu - Nov. 12, 2012, 5:51 a.m.
Applied, thanks.

Best regards,
  Nobuhiro

On Mon, Nov 5, 2012 at 10:54 AM, Shimoda, Yoshihiro
<yoshihiro.shimoda.uh@renesas.com> wrote:
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> ---
>  drivers/serial/serial_sh.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h
> index a33334e..7e38a3f 100644
> --- a/drivers/serial/serial_sh.h
> +++ b/drivers/serial/serial_sh.h
> @@ -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

Patch

diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h
index a33334e..7e38a3f 100644
--- a/drivers/serial/serial_sh.h
+++ b/drivers/serial/serial_sh.h
@@ -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