
14 Jan
2020
14 Jan
'20
7:52 p.m.
Hi Peng,
On Mon, Jan 6, 2020 at 8:11 PM Fabio Estevam festevam@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@gmail.com
Any comments about this series, please?