Skip to contentSkip to conversation

imx: imx8mq: handle ESDHC in mxc_get_clock

PATCH New sbabic at denx.de 1 participant 1 message Dec 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx: imx8mq: handle ESDHC in mxc_get_clock

Quoted 9 lines

fsl_esdhc_imx driver will call "mxc_get_clock(MXC_ESDHC_CLK + dev->seq)", however mxc_get_clock wrongly handle MXC_ESDHC_CLK as 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" Handle MXC_ESDHC_CLK in mxc_get_clock to fix the issue.

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
=====================================================================