]> git.sur5r.net Git - u-boot/commitdiff
sh: Update SuperH serial driver
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Mon, 17 Nov 2008 07:53:09 +0000 (16:53 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 10 Dec 2008 14:11:34 +0000 (23:11 +0900)
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>
drivers/serial/serial_sh.c

index f30532b5abaed3305cf3505c32141bd136055bb8..1d76a194a5fcdb2078978c47743eb489eb4e2f69 100644 (file)
@@ -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) || \