From: Adrian Hunter Date: Tue, 7 Feb 2012 12:48:53 +0000 (+0200) Subject: mmc: sdhci-pci: select HC erase size for Medfield eMMC X-Git-Tag: upstream/snapshot3+hdmi~7826^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da721cf7808f9731454757d704f0aa69ae2f1aae;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mmc: sdhci-pci: select HC erase size for Medfield eMMC Signed-off-by: Adrian Hunter Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 6ebdc40..9952535 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c @@ -244,7 +244,8 @@ static inline void sdhci_pci_remove_own_cd(struct sdhci_pci_slot *slot) static int mfd_emmc_probe_slot(struct sdhci_pci_slot *slot) { slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE; - slot->host->mmc->caps2 = MMC_CAP2_BOOTPART_NOACC; + slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC | + MMC_CAP2_HC_ERASE_SZ; return 0; }