[PATCH] mmc: fsl_esdhc_imx: optimize the timing setting

sbabic at denx.de sbabic at denx.de
Tue Dec 8 09:00:07 CET 2020


> From: Haibo Chen <haibo.chen at nxp.com>
> For imx usdhc/esdhc, once set the DDR_EN, enable the DDR mode, the
> card clock will be divied by 2 automatically by the host. So need
> to first config the DDR_EN correctly, then update the card clock.
> This will make sure the actual card clock is as our expected.
> IC also suggest config the DDR_EN firstly, then config the clock
> divider.
> For HS400/HS400ES mode, need to config the strobe dll, this need
> to based on the correct target clock rate, so need to do this after
> clock rate is update.
> Signed-off-by: Haibo Chen <haibo.chen at nxp.com>
> Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>
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