imx: imx8mq: handle ESDHC in mxc_get_clock
PATCH 1/1 imx: imx8mq: handle ESDHC in mxc_get_clock
Quoted 9 lines
fsl_esdhc_imxdriver will call "mxc_get_clock(MXC_ESDHC_CLK + dev->seq)", howevermxc_get_clockwrongly handleMXC_ESDHC_CLKas root clk and cause sd card could not be detected in U-Boot proper, as below:
"Loading Environment from MMC... unable to select a mode" HandleMXC_ESDHC_CLKinmxc_get_clockto fix the issue.Signed-off-by Peng Fan <[email protected]>Tested-by Baruch Siach <[email protected]>Tested-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================