From 6cb8b23b6d589994bc508baf8e6c8e83fe090191 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 26 Feb 2015 16:20:46 +0900 Subject: LOCAL / mmc: dw_mmc: exynos: enable mmc-erase capability To use erase feature(DISCARD or SANITIZE or ERASE, etc..), set MMC_CAP_ERASE. (In future, this feature should be enabled by default. But before enable by default, it needs to fix the some erase issue - discussing at Mailing-list.) Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc-exynos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/mmc') diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index e761eb1b1441..278e59900422 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -490,7 +490,8 @@ static int dw_mci_exynos_prepare_hs400_tuning(struct dw_mci *host, /* Common capabilities of Exynos4/Exynos5 SoC */ static unsigned long exynos_dwmmc_caps[4] = { - MMC_CAP_1_8V_DDR | MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23, + MMC_CAP_1_8V_DDR | MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23 | + MMC_CAP_ERASE, MMC_CAP_CMD23, MMC_CAP_CMD23, MMC_CAP_CMD23, -- cgit v1.2.3