From fcd2c1e6345d7bc73305365fb86eada6f4d5c448 Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Sat, 10 Aug 2013 20:31:55 +0200 Subject: mshci: disable MMC_CAP_ERASE on u1 Change-Id: I944a80e4ffd9d7b86b18a13534a3fa8fd2104934 --- drivers/mmc/host/mshci.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers') 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