diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2014-05-07 17:26:40 +0900 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-05-15 07:29:14 +0200 |
commit | b4a5b488c79d8763224a6bb8a113dd82094934c3 (patch) | |
tree | 5c376c2f45ff2996f1685a68ddefe23e28d8d9e0 /drivers/mmc | |
parent | d470affed0e55b4237a32bbde058ca04c226af1f (diff) | |
download | linux-3.10-b4a5b488c79d8763224a6bb8a113dd82094934c3.tar.gz linux-3.10-b4a5b488c79d8763224a6bb8a113dd82094934c3.tar.bz2 linux-3.10-b4a5b488c79d8763224a6bb8a113dd82094934c3.zip |
mmc: dw_mmc-exynos: add the MMC_CAP_ERASE capability
To use the erase command, add the MMC_CAP_ERASE capability by default.
Change-Id: Ia9c600eafb08bebb7a60b3b3147a8c8baf303cd0
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/dw_mmc-exynos.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 1d0291b6325..26c8fc692f7 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -154,11 +154,11 @@ static int dw_mci_exynos_parse_dt(struct dw_mci *host) /* Common capabilities of Exynos4/Exynos5 SoC */ static unsigned long exynos_dwmmc_caps[4] = { - MMC_CAP_UHS_DDR50 | MMC_CAP_1_8V_DDR | + MMC_CAP_UHS_DDR50 | MMC_CAP_1_8V_DDR | MMC_CAP_ERASE | MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23, - MMC_CAP_CMD23, - MMC_CAP_CMD23, - MMC_CAP_CMD23, + MMC_CAP_ERASE | MMC_CAP_CMD23, + MMC_CAP_ERASE | MMC_CAP_CMD23, + MMC_CAP_ERASE | MMC_CAP_CMD23, }; static unsigned long exynos_dwmmc_caps2[4] = { |