diff options
author | Tom Rini <trini@konsulko.com> | 2019-08-09 07:29:54 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-09 07:29:54 -0400 |
commit | 163bc1e4da425015000dd3f8f128aec994da9586 (patch) | |
tree | 7ce82167ec590c0c0e056b8e8d37fa855e557ba4 /drivers/mmc/zynq_sdhci.c | |
parent | 21bc1935b1a84176367af982f7f8da11c29cb2eb (diff) | |
parent | d569b4b0a4f34969f83ef8ec89b44f406553e72b (diff) |
Merge tag 'mmc-8-9' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc
- mmc test fix
- sdhci driver fix
Diffstat (limited to 'drivers/mmc/zynq_sdhci.c')
-rw-r--r-- | drivers/mmc/zynq_sdhci.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index c525084250..3225a7ac93 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -242,13 +242,14 @@ static int arasan_sdhci_probe(struct udevice *dev) host->max_clk = clock; + host->mmc = &plat->mmc; + host->mmc->dev = dev; + host->mmc->priv = host; + ret = sdhci_setup_cfg(&plat->cfg, host, plat->f_max, CONFIG_ZYNQ_SDHCI_MIN_FREQ); - host->mmc = &plat->mmc; if (ret) return ret; - host->mmc->priv = host; - host->mmc->dev = dev; upriv->mmc = host->mmc; return sdhci_probe(dev); |