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

sbabic at denx.de sbabic at denx.de
Sat Feb 19 14:08:43 CET 2022


> 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.
> Signed-off-by: Haibo Chen <haibo.chen at nxp.com>
> Reviewed-by: Marek Vasut <marex at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list