git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c1b03
)
mmc: msm_sdhci: use a more sensible default clock rate
author
Caleb Connolly
<caleb.connolly@linaro.org>
Tue, 9 Apr 2024 18:03:03 +0000
(20:03 +0200)
committer
Caleb Connolly
<caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:08 +0000
(13:29 +0200)
We currently default to the lowest rate but this actually doesn't work
on most platforms. Default to the HS400 speed instead which is most
common on Qualcomm platforms.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/mmc/msm_sdhci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/msm_sdhci.c
b/drivers/mmc/msm_sdhci.c
index
ea5d6b4
..
2144772
100644
(file)
--- a/
drivers/mmc/msm_sdhci.c
+++ b/
drivers/mmc/msm_sdhci.c
@@
-62,7
+62,7
@@
static int msm_sdc_clk_init(struct udevice *dev)
ret = ofnode_read_u32(node, "clock-frequency", (uint *)(&clk_rate));
if (ret)
- clk_rate =
4
00000;
+ clk_rate =
2015
00000;
ret = clk_get_bulk(dev, &prv->clks);
if (ret) {