[PATCH 1/2] mmc: fsl_esdhc_imx: Handle the "broken-cd" property

sbabic at denx.de sbabic at denx.de
Wed Jan 15 13:47:05 CET 2020


> 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>
> Reviewed-by: Stefano Babic <sbabic at denx.de>
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
=====================================================================


More information about the U-Boot mailing list