From: Masahiro Yamada Date: Fri, 29 Dec 2017 17:00:10 +0000 (+0900) Subject: mmc: sdhci-cadence: call mmc_of_parse() X-Git-Tag: v2018.03-rc1~99^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4041bf7f8ae82537ea8731333ef47f0ad3f33d0f;p=u-boot mmc: sdhci-cadence: call mmc_of_parse() This is needed to parse more capabilities such as mmc-hs200-1_8v. Signed-off-by: Masahiro Yamada --- diff --git a/drivers/mmc/sdhci-cadence.c b/drivers/mmc/sdhci-cadence.c index 712b18c93f..921095b276 100644 --- a/drivers/mmc/sdhci-cadence.c +++ b/drivers/mmc/sdhci-cadence.c @@ -190,6 +190,10 @@ static int sdhci_cdns_probe(struct udevice *dev) host->ops = &sdhci_cdns_ops; host->quirks |= SDHCI_QUIRK_WAIT_SEND_CMD; + ret = mmc_of_parse(dev, &plat->cfg); + if (ret) + return ret; + ret = sdhci_cdns_phy_init(plat, gd->fdt_blob, dev_of_offset(dev)); if (ret) return ret;