mmc: mv_sdhci: parse device-tree entry
PATCH 1/1 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.
--- drivers/mmc/mv_sdhci.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/mmc/mv_sdhci.c +4 -0
@@ -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;
Signature · 1 line
2.30.0
PATCH 1/1 mmc: mv_sdhci: parse device-tree entry
Quoted 8 lines · Baruch Siach
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 <[email protected]>Signed-off-by Baruch Siach <[email protected]>
Best Regards,
Jaehoon Chung
Quoted 20 lines
--- drivers/mmc/mv_sdhci.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/mmc/mv_sdhci.c +4
-0@@ -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;
PATCH 1/1 mmc: mv_sdhci: parse device-tree entry
In reply to Baruch SiachPATCH 1/1 mmc: mv_sdhci: parse device-tree entry
In reply to Baruch SiachQuoted 8 lines · Baruch Siach
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 <[email protected]>Signed-off-by Baruch Siach <[email protected]>
Applied to u-boot-marvell/master
Thanks,
Stefan