[PATCH 2/9] mmc: dw_mmc: do not skip dwmci_setup_bus() for same non-zero clock frequency

Peng Fan peng.fan at oss.nxp.com
Wed Oct 22 10:15:46 CEST 2025


On Fri, Oct 17, 2025 at 08:54:07PM +0530, Kaustabh Chakraborty wrote:
>In dwmci_setup_bus(), if the requested frequency is equal to the current
>frequency, the function is returned, assuming no changes are required in
>associated registers.
>
>On certain SD cards, skipping in such situations may result in a timeout
>errors during MMC initialization. Due to the lack of documentation, the
>cause is unknown, but removing said check seems to fix the issue.
>
>Signed-off-by: Kaustabh Chakraborty <kauschluss at disroot.org>

Reviewed-by: Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list