From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugeniy Paltsev Date: Tue, 23 Jan 2018 12:03:24 +0000 Subject: [U-Boot] mmc: disable UHS modes if Vcc cannot be switched on and off In-Reply-To: <1471c6d2-c7f9-f9ea-2a3f-db853a133965@samsung.com> References: <1516646287.5399.67.camel@synopsys.com> <1471c6d2-c7f9-f9ea-2a3f-db853a133965@samsung.com> Message-ID: <1516709004.5399.69.camel@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Tue, 2018-01-23 at 10:44 +0900, Jaehoon Chung wrote: > On 01/23/2018 03:38 AM, Eugeniy Paltsev wrote: > > 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? > > Could you share which git repository you use?  I use u-boot master branch from git://git.denx.de/u-boot.git last commits: --------------->8------------- 485c13c Merge git://git.denx.de/u-boot-dm b79221a lib: fdtdec: Fix some style violations 2e38662 lib: fdtdec: Fix whitespace style violations 29d11b8 core: Make device_is_compatible live-tree compatible 147c607 core: Add {ofnode, dev}_translate_address functions --------------->8------------- > Best Regards, > Jaehoon Chung > > > > > Thanks. > > > > --  Eugeniy Paltsev