diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-12-30 02:00:10 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2018-01-22 14:11:58 +0900 |
commit | 4041bf7f8ae82537ea8731333ef47f0ad3f33d0f (patch) | |
tree | 8de7d8273335e182d68933177f6231988223bab1 | |
parent | 954a963146c2f4487f5efce0be00e5625bc41e88 (diff) | |
download | u-boot-4041bf7f8ae82537ea8731333ef47f0ad3f33d0f.tar.gz |
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 <yamada.masahiro@socionext.com>
-rw-r--r-- | drivers/mmc/sdhci-cadence.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |