]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: msm_sdhci: use a more sensible default clock rate
authorCaleb Connolly <caleb.connolly@linaro.org>
Tue, 9 Apr 2024 18:03:03 +0000 (20:03 +0200)
committerCaleb 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

index ea5d6b4cbbeeba2f026debe1c1eaa53c12ea090d..2144772ac3256f7c3f31dc238dc39dc238e4396a 100644 (file)
@@ -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 = 400000;
+               clk_rate = 201500000;
 
        ret = clk_get_bulk(dev, &prv->clks);
        if (ret) {