projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: sdhci: Distinguish between base clock and maximum peripheral frequency
[oweals/u-boot.git]
/
drivers
/
mmc
/
pic32_sdhci.c
diff --git
a/drivers/mmc/pic32_sdhci.c
b/drivers/mmc/pic32_sdhci.c
index c06364cfc1205fe42e59e6a55d04f96a42875933..1e14fa14d6a00f9b14f0a3a015b84a0ab0563dab 100644
(file)
--- a/
drivers/mmc/pic32_sdhci.c
+++ b/
drivers/mmc/pic32_sdhci.c
@@
-56,7
+56,9
@@
static int pic32_sdhci_probe(struct udevice *dev)
return ret;
}
- ret = add_sdhci(host, f_min_max[1], f_min_max[0]);
+ host->max_clk = f_min_max[1];
+
+ ret = add_sdhci(host, 0, f_min_max[0]);
if (ret)
return ret;
host->mmc->dev = dev;