[PATCH 3/3] mmc: fsl_esdhc_imx: correct the actual card clock

Marek Vasut marex at denx.de
Sun Feb 13 22:54:02 CET 2022


On 2/11/22 12:16, haibo.chen at nxp.com wrote:
> From: Haibo Chen <haibo.chen at nxp.com>
> 
> The original code logic can not show the correct card clock, and also
> has one risk when the div is 0. Because there is div -=1 before.
> 
> So move the operation before div -=1, and also involve ddr_pre_div
> to get the correct value.

Reviewed-by: Marek Vasut <marex at denx.de>

Thanks !


More information about the U-Boot mailing list