summaryrefslogtreecommitdiff
path: root/include/configs/lager.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-03-31 14:03:07 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-04-28 04:35:12 +0900
commitb1f78a2ebd558c175c307110c50835a92c5a9db5 (patch)
treec6e61142dfd72efe4d26cab497036e3f4e95e5a6 /include/configs/lager.h
parentccde6771dca4e792018392931d3c30b10ce137b1 (diff)
downloadu-boot-imx-b1f78a2ebd558c175c307110c50835a92c5a9db5.zip
u-boot-imx-b1f78a2ebd558c175c307110c50835a92c5a9db5.tar.gz
u-boot-imx-b1f78a2ebd558c175c307110c50835a92c5a9db5.tar.bz2
arm: rmobile: lager: Update calculation of CONFIG_SH_TMU_CLK_FREQ
CONFIG_SH_TMU_CLK_FREQ of lager 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/lager.h')
-rw-r--r--include/configs/lager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/lager.h b/include/configs/lager.h
index 5ddefef..269cfec 100644
--- a/include/configs/lager.h
+++ b/include/configs/lager.h
@@ -155,9 +155,10 @@
#define CONFIG_SYS_I2C_POWERIC_ADDR 0x58 /* da9063 */
/* Board Clock */
-#define CONFIG_BASE_CLK_FREQ 20000000u
-#define CONFIG_SH_TMU_CLK_FREQ (CONFIG_BASE_CLK_FREQ / 2) /* EXT / 2 */
-#define CONFIG_PLL1_CLK_FREQ (CONFIG_BASE_CLK_FREQ * 156 / 2)
+#define RMOBILE_XTAL_CLK 20000000u
+#define CONFIG_SYS_CLK_FREQ RMOBILE_XTAL_CLK
+#define CONFIG_SH_TMU_CLK_FREQ (CONFIG_SYS_CLK_FREQ / 2) /* EXT / 2 */
+#define CONFIG_PLL1_CLK_FREQ (CONFIG_SYS_CLK_FREQ * 156 / 2)
#define CONFIG_PLL1_DIV2_CLK_FREQ (CONFIG_PLL1_CLK_FREQ / 2)
#define CONFIG_MP_CLK_FREQ (CONFIG_PLL1_DIV2_CLK_FREQ / 15)
#define CONFIG_HP_CLK_FREQ (CONFIG_PLL1_CLK_FREQ / 12)