summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm720t/tegra114/cpu.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-04-18 16:16:01 -0400
committerTom Rini <trini@ti.com>2013-04-18 16:16:01 -0400
commit17dcbfb0876385b13739b1b1f2026edc8163b629 (patch)
tree5faa5949a895040398e70f6e8ef81dc9da88557e /arch/arm/cpu/arm720t/tegra114/cpu.c
parent669dfc2ed8d853d6bcdcafa1de6aca22929465e5 (diff)
parentf2e8a87305a55652488af140adcf65b1e688f287 (diff)
downloadu-boot-imx-17dcbfb0876385b13739b1b1f2026edc8163b629.zip
u-boot-imx-17dcbfb0876385b13739b1b1f2026edc8163b629.tar.gz
u-boot-imx-17dcbfb0876385b13739b1b1f2026edc8163b629.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-arm into HEAD
Quick manual fixup to merge the USB boot related defines and TPM related defines. Conflicts: include/configs/exynos5250-dt.h Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/arm720t/tegra114/cpu.c')
-rw-r--r--arch/arm/cpu/arm720t/tegra114/cpu.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/cpu/arm720t/tegra114/cpu.c b/arch/arm/cpu/arm720t/tegra114/cpu.c
index 6a94179..51ecff7 100644
--- a/arch/arm/cpu/arm720t/tegra114/cpu.c
+++ b/arch/arm/cpu/arm720t/tegra114/cpu.c
@@ -170,15 +170,13 @@ void t114_init_clocks(void)
clock_set_enable(PERIPH_ID_MC1, 1);
clock_set_enable(PERIPH_ID_DVFS, 1);
- /* Switch MSELECT clock to PLLP (00) */
- clock_ll_set_source(PERIPH_ID_MSELECT, 0);
-
/*
- * Clock divider request for 102MHz would setup MSELECT clock as
- * 102MHz for PLLP base 408MHz
+ * Set MSELECT clock source as PLLP (00), and ask for a clock
+ * divider that would set the MSELECT clock at 102MHz for a
+ * PLLP base of 408MHz.
*/
clock_ll_set_source_divisor(PERIPH_ID_MSELECT, 0,
- (NVBL_PLLP_KHZ/102000));
+ CLK_DIVIDER(NVBL_PLLP_KHZ, 102000));
/* I2C5 (DVC) gets CLK_M and a divisor of 17 */
clock_ll_set_source_divisor(PERIPH_ID_I2C5, 3, 16);