[PATCH 1/2] mmc: fsl_esdhc_imx: Handle the "broken-cd" property
Fabio Estevam
festevam at gmail.com
Tue Jan 14 19:52:40 CET 2020
Hi Peng,
On Mon, Jan 6, 2020 at 8:11 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> When no GPIO is used to read the card detect status the following
> error is seen:
>
> MMC: FSL_SDHC: 0, FSL_SDHC: 1
> Loading Environment from MMC... MMC: no card present
> *** Warning - No block device, using default environment
>
> Fix it by handling the "broken-cd" property in the same way
> that drivers/mmc/sdhci.c does, which considers that the SD card
> is present when the "broken-cd" property is passed.
>
> Tested on a imx6ul-evk board.
>
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
Any comments about this series, please?
More information about the U-Boot
mailing list