summaryrefslogtreecommitdiff
path: root/include/configs/koelsch.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-03-31 11:06:46 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-04-28 04:35:12 +0900
commitae8e1d9d7d0041f9d6b543d96e0fc2de6b8d53b2 (patch)
tree15f60e1cae0ddfe2a44dfabadf0e30fff98bf766 /include/configs/koelsch.h
parent4e626a353526f306069900d91ce2e253f78904f4 (diff)
downloadu-boot-imx-ae8e1d9d7d0041f9d6b543d96e0fc2de6b8d53b2.zip
u-boot-imx-ae8e1d9d7d0041f9d6b543d96e0fc2de6b8d53b2.tar.gz
u-boot-imx-ae8e1d9d7d0041f9d6b543d96e0fc2de6b8d53b2.tar.bz2
arm: rmobile: koelsch: Update calculation of CONFIG_SH_TMU_CLK_FREQ
CONFIG_SH_TMU_CLK_FREQ of koelsch is calculated from the external clock. This defines RMOBILE_XTAL_CLK, this updates the calculation of CONFIG_SH_TMU_CLK_FREQ. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs/koelsch.h')
-rw-r--r--include/configs/koelsch.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h
index 7db6086..1a93d17 100644
--- a/include/configs/koelsch.h
+++ b/include/configs/koelsch.h
@@ -135,8 +135,9 @@
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
/* Board Clock */
-#define CONFIG_SYS_CLK_FREQ 10000000
-#define CONFIG_SH_TMU_CLK_FREQ CONFIG_SYS_CLK_FREQ
+#define RMOBILE_XTAL_CLK 20000000u
+#define CONFIG_SYS_CLK_FREQ RMOBILE_XTAL_CLK
+#define CONFIG_SH_TMU_CLK_FREQ (CONFIG_SYS_CLK_FREQ / 2)
#define CONFIG_SH_SCIF_CLK_FREQ 14745600
#define CONFIG_SYS_TMU_CLK_DIV 4