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>
This commit is contained in:
parent
9a1d3557dc
commit
15e2697c9f
@ -94,7 +94,7 @@
|
|||||||
# define LSR_ORER 1
|
# define LSR_ORER 1
|
||||||
# define FIFOLEVEL_MASK 0x1F
|
# define FIFOLEVEL_MASK 0x1F
|
||||||
#elif defined(CONFIG_CPU_SH7720)
|
#elif defined(CONFIG_CPU_SH7720)
|
||||||
# define SCLSR (vu_short *)(SCIF_BASE + 0x24)
|
# define SCLSR SCFSR
|
||||||
# define LSR_ORER 0x0200
|
# define LSR_ORER 0x0200
|
||||||
# define FIFOLEVEL_MASK 0x1F
|
# define FIFOLEVEL_MASK 0x1F
|
||||||
#elif defined(CONFIG_CPU_SH7710) || \
|
#elif defined(CONFIG_CPU_SH7710) || \
|
||||||
|
Loading…
Reference in New Issue
Block a user