]> git.sur5r.net Git - u-boot/commit
serial: sh: Change definition of clock of SCIF
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Tue, 20 Aug 2013 01:31:53 +0000 (10:31 +0900)
committerNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Thu, 17 Oct 2013 00:43:31 +0000 (09:43 +0900)
commitf8b7d9eaef1250d7d4c543fcc6f8e2334665f97d
tree45271007a905a90a8314f339d131715927c5e91a
parent857febf38cd33b49e29f2d17e885f2cb17a0aec0
serial: sh: Change definition of clock of SCIF

The former SH/SCIF driver had calculated baudrate based on CONFIG_SYS_CLK_FREQ.
The newest SH/SCIF needs calculation of the clock for SCIF.
This patch defines clock CONFIG_SH_SCIF_CLK_FREQ for SCIF and changes it to
CONFIG_SH_SCIF_CLK_FREQ from CONFIG_SYS_CLK_FREQ.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
CC: Albert Aribaud <albert.u.boot@aribaud.net>
drivers/serial/serial_sh.c