aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mshci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/mshci.c')
-rw-r--r--drivers/mmc/host/mshci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/mshci.c b/drivers/mmc/host/mshci.c
index 45997c5..f93a7eb 100644
--- a/drivers/mmc/host/mshci.c
+++ b/drivers/mmc/host/mshci.c
@@ -2045,7 +2045,11 @@ int mshci_add_host(struct mshci_host *host)
mmc->ops = &mshci_ops;
mmc->f_min = 400000;
mmc->f_max = host->max_clk;
+#ifdef CONFIG_MACH_U1
+ mmc->caps |= MMC_CAP_SDIO_IRQ;
+#else
mmc->caps |= MMC_CAP_SDIO_IRQ | MMC_CAP_ERASE;
+#endif
mmc->caps |= MMC_CAP_4_BIT_DATA;