[PATCH] imx: imx8mq: handle ESDHC in mxc_get_clock

Fabio Estevam festevam at gmail.com
Wed Dec 11 14:38:13 CET 2019


Hi Peng,

On Wed, Dec 11, 2019 at 3:17 AM Peng Fan <peng.fan at nxp.com> wrote:
>
> 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.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>

Thanks for the fix:

Tested-by: Fabio Estevam <festevam at gmail.com>

Stefano,

This one is a bug fix for 2020.01

Thanks


More information about the U-Boot mailing list