]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/ftsdc021_sdhci.c
mmc: sdhci: Distinguish between base clock and maximum peripheral frequency
[people/ms/u-boot.git] / drivers / mmc / ftsdc021_sdhci.c
index 6e9fefab33e2b0204dd80d31a014241a2e8d17c4..4940ccb35725edd0c7ec40995b230ee4d411a6fc 100644 (file)
@@ -27,7 +27,8 @@ int ftsdc021_sdhci_init(u32 regbase)
        host->name = "FTSDC021";
        host->ioaddr = (void __iomem *)regbase;
        host->quirks = 0;
-       add_sdhci(host, freq, 0);
+       host->max_clk = freq;
+       add_sdhci(host, 0, 0);
 
        return 0;
 }