From: Nobuhiro Iwamatsu Date: Mon, 17 Nov 2008 07:53:09 +0000 (+0900) Subject: sh: Update SuperH serial driver X-Git-Tag: v2009.01-rc1~7^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=15e2697c9f7fb2ba672a1a70f07cd6d9d4e92b51;p=u-boot sh: Update SuperH serial driver The address of SCFSR register is wrong at SH7720/SH7721. This patch fix this. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c index f30532b5ab..1d76a194a5 100644 --- a/drivers/serial/serial_sh.c +++ b/drivers/serial/serial_sh.c @@ -94,7 +94,7 @@ # define LSR_ORER 1 # define FIFOLEVEL_MASK 0x1F #elif defined(CONFIG_CPU_SH7720) -# define SCLSR (vu_short *)(SCIF_BASE + 0x24) +# define SCLSR SCFSR # define LSR_ORER 0x0200 # define FIFOLEVEL_MASK 0x1F #elif defined(CONFIG_CPU_SH7710) || \