summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2008-11-17 16:53:09 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-12-10 23:11:34 +0900
commit15e2697c9f7fb2ba672a1a70f07cd6d9d4e92b51 (patch)
tree6f8fc3f4c507e7e91370dc0f7620b6686e173af9 /drivers/serial
parent9a1d3557dcd47365c12eeab584b822e57d994352 (diff)
downloadu-boot-imx-15e2697c9f7fb2ba672a1a70f07cd6d9d4e92b51.zip
u-boot-imx-15e2697c9f7fb2ba672a1a70f07cd6d9d4e92b51.tar.gz
u-boot-imx-15e2697c9f7fb2ba672a1a70f07cd6d9d4e92b51.tar.bz2
sh: Update SuperH serial driver
The address of SCFSR register is wrong at SH7720/SH7721. This patch fix this. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c
index f30532b..1d76a19 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) || \