From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Sat, 28 Dec 2019 11:48:42 +0100 (CET) Subject: [PATCH] imx: imx8mq: handle ESDHC in mxc_get_clock Message-ID: <20191228104842.A515C81708@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Tested-by: Baruch Siach > Tested-by: Fabio Estevam 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 =====================================================================