[U-Boot] mmc: disable UHS modes if Vcc cannot be switched on and off

Eugeniy Paltsev Eugeniy.Paltsev at synopsys.com
Mon Jan 22 18:38:07 UTC 2018


Hi Jean-Jacques,

after commit "mmc: disable UHS modes if Vcc cannot be switched on and off" (04a2ea248f)
we got MMC broken on several (at least two) platforms with DesignWare MMC controller.

The error log (with debug enabled in drivers/mmc/mmc.c and drivers/mmc/dw_mmc.c) is next:
--------------->8-------------
MMC:   Synopsys Mobile storage: 0
Buswidth = 0, clock: 400000
selecting mode MMC legacy (freq : 0 MHz)
Buswidth = 1, clock: 400000
Buswidth = 1, clock: 400000
Sending CMD0
dwmci_send_cmd: Timeout.
mmc_init: -110, time 19
** Bad device mmc 0 **
--------------->8-------------

Any ideas how to fix this?

Thanks.
-- 
 Eugeniy Paltsev


More information about the U-Boot mailing list