mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
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 <thorsten_spille@netcor.de> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Marek Behún <marek.behun@nic.cz>
This commit is contained in:
parent
6e2748452a
commit
24a0f8cfe5
@ -118,6 +118,10 @@ static int mv_sdhci_probe(struct udevice *dev)
|
|||||||
host->mmc->dev = dev;
|
host->mmc->dev = dev;
|
||||||
host->mmc->priv = host;
|
host->mmc->priv = host;
|
||||||
|
|
||||||
|
ret = mmc_of_parse(dev, &plat->cfg);
|
||||||
|
if (ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
ret = sdhci_setup_cfg(&plat->cfg, host, 0, 0);
|
ret = sdhci_setup_cfg(&plat->cfg, host, 0, 0);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user