|
@@ -17,6 +17,7 @@
|
|
#include <linux/clk.h>
|
|
#include <linux/clk.h>
|
|
#include <linux/mmc/host.h>
|
|
#include <linux/mmc/host.h>
|
|
#include <linux/mmc/sdhci-pltfm.h>
|
|
#include <linux/mmc/sdhci-pltfm.h>
|
|
|
|
+#include <mach/hardware.h>
|
|
#include "sdhci.h"
|
|
#include "sdhci.h"
|
|
#include "sdhci-pltfm.h"
|
|
#include "sdhci-pltfm.h"
|
|
#include "sdhci-esdhc.h"
|
|
#include "sdhci-esdhc.h"
|
|
@@ -112,6 +113,9 @@ static int esdhc_pltfm_init(struct sdhci_host *host, struct sdhci_pltfm_data *pd
|
|
clk_enable(clk);
|
|
clk_enable(clk);
|
|
pltfm_host->clk = clk;
|
|
pltfm_host->clk = clk;
|
|
|
|
|
|
|
|
+ if (cpu_is_mx35() || cpu_is_mx51())
|
|
|
|
+ host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|