summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2015-02-26 16:20:46 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:40:30 +0900
commit6cb8b23b6d589994bc508baf8e6c8e83fe090191 (patch)
treec454be95f0bdf57479df39b66f56a98060554cfb /drivers/mmc
parentbf0cc6c463367c1109f11176085973913418d3f0 (diff)
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 <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/dw_mmc-exynos.c3
1 files changed, 2 insertions, 1 deletions
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,