am335x: Enable MMC1 clock
PATCH 1/1 am335x: Enable MMC1 clock
We must not assume ROM has enabled the clock for MMC1.
Reported-by Koen Kooi <[email protected]>
Signed-off-by Tom Rini <[email protected]>
--- arch/arm/cpu/armv7/am33xx/clock_am33xx.c | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/cpu/armv7/am33xx/clock_am33xx.c +5 -0
@@ -195,6 +195,11 @@ static void enable_per_clocks(void)while (readl (&cmper->mmc0clkctrl) !=PRCM_MOD_EN ) ; +/* MMC1 */ +writel (PRCM_MOD_EN , &cmper->mmc1clkctrl); +while (readl (&cmper->mmc1clkctrl) !=PRCM_MOD_EN ) + ; +/* i2c0 */ writel (PRCM_MOD_EN , &cmwkup->wkup_i2c0ctrl);while (readl (&cmwkup->wkup_i2c0ctrl) !=PRCM_MOD_EN )
Signature · 1 line
1.7.9.5
PATCH 1/1 am335x: Enable MMC1 clock
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Tom" == Tom Rini <[email protected]> writes:
Tom> We must not assume ROM has enabled the clock for MMC1. Tom> Reported-by: Koen Kooi <[email protected]> Tom> Signed-off-by: Tom Rini <[email protected]>
Acked-by Peter Korsgaard <[email protected]>
Signature · 1 line
Bye, Peter Korsgaard
Quoted 5 lines · Tom Rini
We must not assume ROM has enabled the clock for MMC1.
Reported-by Koen Kooi <[email protected]>Signed-off-by Tom Rini <[email protected]>Acked-by Peter Korsgaard <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130408/fef2d274/attachment.pgp>