From 7625c997f40f82b0aba169da7916ebf0caf28982 Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Sat, 10 Aug 2013 20:33:42 +0200 Subject: mshci: disable MMC_CAP_ERASE on u1 Change-Id: I89d868bd380924b012ef33fca51301b0dcb556a0 --- drivers/mmc/host/mshci.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.1