On Fri, 15 Jul 2022 01:58:24 +0200
Marek Vasut <ma...@denx.de> wrote:

> Commit 44645f87de5 ("mmc: Fix mmc_switch excessive timeout") introduced
> a side effect where CMD13 SEND_STATUS is issued in case mmc_wait_dat0()
> does not return -ENOSYS and $send_status is not set. This happens on all
> hardware which does implement .mmc_wait_dat0 callback, e.g. i.MX8M .
> 
> This leads to lengthy timeout before booting OS in case of eMMC in one
> of the HS200/HS400 modes, since the card cannot respond to CMD13 while
> downgrading from HS200/HS400 to regular HS mode.
> 
> Fix this by adding the missing conditional.
> 
> Fixes: 44645f87de5 ("mmc: Fix mmc_switch excessive timeout")
> Signed-off-by: Marek Vasut <ma...@denx.de>
> Cc: Jaehoon Chung <jh80.ch...@samsung.com>
> Cc: Kirill Kapranov <kirill.kapra...@compulab.co.il>
> Cc: Marek Behún <marek.be...@nic.cz>
> Cc: Pantelis Antoniou <pa...@antoniou-consulting.com>
> Cc: Ye Li <ye...@nxp.com>

Does the lenghty timeout occur even on xenon with the patch
https://source.denx.de/u-boot/u-boot/-/commit/0f3466f52fbacce67e147b9234e6323edff26a6d
?

Marek

Reply via email to