summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-07-03 08:45:31 -0700
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:12 +0200
commit13f1c44bc5bb6515a22e1106c1b4eb40fef39ac6 (patch)
treee4d2a82529e34d14cf9b01a5d305c2dd683a5420
parent7d5eb34908d3a7318d1a3f4afb2c926066a2befc (diff)
downloadu-boot-imx-13f1c44bc5bb6515a22e1106c1b4eb40fef39ac6.zip
u-boot-imx-13f1c44bc5bb6515a22e1106c1b4eb40fef39ac6.tar.gz
u-boot-imx-13f1c44bc5bb6515a22e1106c1b4eb40fef39ac6.tar.bz2
am33xx: Remove extra check in enable_ddr_clocks
We do not need to check for EMIF_GCLK and L3_GCLK being active. This was a hold-over from bringup and no longer required. Signed-off-by: Tom Rini <trini@ti.com>
-rw-r--r--arch/arm/cpu/armv7/am33xx/clock.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/clock.c b/arch/arm/cpu/armv7/am33xx/clock.c
index 45b4a9f..f068824 100644
--- a/arch/arm/cpu/armv7/am33xx/clock.c
+++ b/arch/arm/cpu/armv7/am33xx/clock.c
@@ -285,11 +285,6 @@ void enable_emif_clocks(void)
writel(PRCM_MOD_EN, &cmper->emiffwclkctrl);
/* Enable EMIF0 Clock */
writel(PRCM_MOD_EN, &cmper->emifclkctrl);
- /* Poll for emif_gclk & L3_G clock are active */
- while ((readl(&cmper->l3clkstctrl) & (PRCM_EMIF_CLK_ACTIVITY |
- PRCM_L3_GCLK_ACTIVITY)) != (PRCM_EMIF_CLK_ACTIVITY |
- PRCM_L3_GCLK_ACTIVITY))
- ;
/* Poll if module is functional */
while ((readl(&cmper->emifclkctrl)) != PRCM_MOD_EN)
;