]> Git Repo - J-u-boot.git/commitdiff
arm: rmobile: koelsch: Update calculation of CONFIG_SH_TMU_CLK_FREQ
authorNobuhiro Iwamatsu <[email protected]>
Mon, 31 Mar 2014 02:06:46 +0000 (11:06 +0900)
committerNobuhiro Iwamatsu <[email protected]>
Sun, 27 Apr 2014 19:35:12 +0000 (04:35 +0900)
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 <[email protected]>
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
include/configs/koelsch.h

index 7db60860844344e58d979a37d26d8bb3d6afe77e..1a93d1769fe6f9fafedc5252c36ffad5074d0d73 100644 (file)
 #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
 
This page took 0.035209 seconds and 4 git commands to generate.