[PATCH] mmc: mtk-sd: implement waiting for DAT0 line state

Tom Rini trini at konsulko.com
Thu Nov 18 20:16:42 CET 2021


On Fri, Nov 05, 2021 at 02:34:14PM +0100, Julien Masson wrote:

> With the recent changes on mmc driver, we saw that the boot is ~5 secs
> longer compared to v2021.07 on mediatek platforms.
> 
> This regression is seen during mmc_init and caused by the following
> patch [1].
> 
> Indeed since we did not support poll dat0, we fulfilled the condition
> of [1] and a delay of 500 ms was added for every __mmc_switch call.
> 
> By adding the support of wait_dat0(), we now don't need to mdelay
> during mmc_init anymore.
> 
> [1]: https://patchwork.ozlabs.org/project/uboot/patch/1629192034-64056-1-git-send-email-ye.li@nxp.com/
> 
> Signed-off-by: Julien Masson <jmasson at baylibre.com>
> Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211118/de35933a/attachment.sig>


More information about the U-Boot mailing list