From: Baruch Siach Date: Tue, 2 Feb 2021 06:43:04 +0000 (+0200) Subject: mmc: mv_sdhci: parse device-tree entry X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=24a0f8cfe5c85aef5a20baf34ee7b77004b07b04;p=u-boot.git mmc: mv_sdhci: parse device-tree entry Call mmc_of_parse() so that generic DT properties like 'non-removable' are taken into account. This fixes boot on Clearfog with eMMC on SOM that requires the non-removable property. Reported-by: Thorsten Spille Signed-off-by: Baruch Siach Reviewed-by: Jaehoon Chung Reviewed-by: Marek BehĂșn --- diff --git a/drivers/mmc/mv_sdhci.c b/drivers/mmc/mv_sdhci.c index 556dd38046..4dc4a0d2be 100644 --- a/drivers/mmc/mv_sdhci.c +++ b/drivers/mmc/mv_sdhci.c @@ -118,6 +118,10 @@ static int mv_sdhci_probe(struct udevice *dev) host->mmc->dev = dev; host->mmc->priv = host; + ret = mmc_of_parse(dev, &plat->cfg); + if (ret) + return ret; + ret = sdhci_setup_cfg(&plat->cfg, host, 0, 0); if (ret) return ret;