]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: sdhci-cadence: call mmc_of_parse()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 29 Dec 2017 17:00:10 +0000 (02:00 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 22 Jan 2018 05:11:58 +0000 (14:11 +0900)
This is needed to parse more capabilities such as mmc-hs200-1_8v.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/sdhci-cadence.c

index 712b18c93f451ee46d4232df6de273bdaeeb6365..921095b276f5c3f937a83d90518a1b63944b9a67 100644 (file)
@@ -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;