mirror of
https://github.com/u-boot/u-boot.git
synced 2025-01-10 21:03:49 +08:00
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>
This commit is contained in:
parent
7d5eb34908
commit
13f1c44bc5
@ -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)
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user