|
@@ -74,6 +74,11 @@ void sdhci_get_of_property(struct platform_device *pdev)
|
|
|
if (of_device_is_compatible(np, "fsl,p2020-rev1-esdhc"))
|
|
|
host->quirks |= SDHCI_QUIRK_BROKEN_DMA;
|
|
|
|
|
|
+ if (of_device_is_compatible(np, "fsl,p2020-esdhc") ||
|
|
|
+ of_device_is_compatible(np, "fsl,p1010-esdhc") ||
|
|
|
+ of_device_is_compatible(np, "fsl,mpc8536-esdhc"))
|
|
|
+ host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;
|
|
|
+
|
|
|
clk = of_get_property(np, "clock-frequency", &size);
|
|
|
if (clk && size == sizeof(*clk) && *clk)
|
|
|
pltfm_host->clock = be32_to_cpup(clk);
|