sh: timer: Change definition of clock of TMU
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Tue, 20 Aug 2013 02:40:24 +0000 (11:40 +0900)
committerNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Thu, 17 Oct 2013 00:43:25 +0000 (09:43 +0900)
commit857febf38cd33b49e29f2d17e885f2cb17a0aec0
tree35b8d68eb43fb9c281a55f41a3c2ac1ba29dcec8
parenta633a18f906bb21a46634f0d4b1c453ca0e6735b
sh: timer: Change definition of clock of TMU

The former SH/TMU driver had calculated timer based on CONFIG_SYS_CLK_FREQ.
The newest SH/TMU newly needs calculation of the clock for TMU.
This patch defines clock CONFIG_SH_TMU_CLK_FREQ for TMU and changes it to
CONFIG_SH_TMU_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>
include/sh_tmu.h