
-----Original Message----- From: Jaehoon Chung [mailto:jh80.chung@samsung.com] Sent: 2021年6月9日 7:35 To: Fabio Estevam festevam@gmail.com Cc: Bough Chen haibo.chen@nxp.com; Peng Fan peng.fan@nxp.com; u-boot@lists.denx.de; tharvey@gateworks.com Subject: Re: [PATCH v2] Revert "mmc: fsl_esdhc_imx: use VENDORSPEC_FRC_SDCLK_ON to control card clock output"
Hi Fabio,
On 6/9/21 6:47 AM, Fabio Estevam wrote:
Hi Jaehoon,
On Mon, Jun 7, 2021 at 11:50 PM Jaehoon Chung
jh80.chung@samsung.com wrote:
Is your target success to boot finally after 20sec?
Yes, it boots fine after 20s.
I didn't have target to use fsl_esdhc_imx driver.
If booted after 20sec, how about below code?
#ifdef CONFIG_FSL_ESDHC_IMX_TIMEOUT #define FSL_ESDHC_IMX_TIMEOUT
CONFIG_FSL_ESDHC_IMX_TIMEOUT
#else #define FSL_ESDHC_IMX_TIMEOUT 0 #endif
ret = readx_poll_timeout(..., FSL_ESDHC_IMX_TIMEOUT); if (FSL_ESDHC_IMX_TIMEOUT && ret) pr_warn("...");
Thanks for the suggestion, but it didn't work.
If i find a board to use fs_esdhc_imx driver, I will check more. I hope that Bough will suggest better solution to satisfy both case.
Give me a few days, I'm busy these days, will do when I have time.
Best Regards Bough
Best Regards, Jaehoon Chung