summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-01-28 21:10:32 -0500
committerTom Rini <trini@konsulko.com>2020-01-28 21:10:32 -0500
commit3e12744a90241b08788ab7f20b5437381dbc9f68 (patch)
treecd06563bd79c890e6221aaa330fd145133e57e64 /drivers/mmc
parentb00c3c995bf2293e32cd2be3cb4be7eb39c4ac26 (diff)
parent51521e43603d37e6be2ffd1ad2607361650500e9 (diff)
downloadu-boot-3e12744a90241b08788ab7f20b5437381dbc9f68.tar.gz
Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-samsung
- Various exynos fixes
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/s5p_sdhci.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c
index 53efa968cf..b5fe828dd6 100644
--- a/drivers/mmc/s5p_sdhci.c
+++ b/drivers/mmc/s5p_sdhci.c
@@ -204,8 +204,13 @@ static int s5p_sdhci_probe(struct udevice *dev)
if (ret)
return ret;
+ ret = mmc_of_parse(dev, &plat->cfg);
+ if (ret)
+ return ret;
+
host->mmc = &plat->mmc;
host->mmc->dev = dev;
+
ret = sdhci_setup_cfg(&plat->cfg, host, 0, 400000);
if (ret)
return ret;