From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Wed, 15 Jan 2020 13:47:05 +0100 (CET) Subject: [PATCH 1/2] mmc: fsl_esdhc_imx: Handle the "broken-cd" property In-Reply-To: <20200106231128.27661-1-festevam@gmail.com> Message-ID: <20200115124705.3EB1B818E3@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 > 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 > Reviewed-by: Stefano Babic 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 =====================================================================