projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83bb24a
)
mmc: sdhci-pci: select HC erase size for Medfield eMMC
author
Adrian Hunter
<adrian.hunter@intel.com>
Tue, 7 Feb 2012 12:48:53 +0000
(14:48 +0200)
committer
Chris Ball
<cjb@laptop.org>
Tue, 27 Mar 2012 16:20:08 +0000
(12:20 -0400)
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-pci.c
b/drivers/mmc/host/sdhci-pci.c
index 6ebdc4010e7ccb46e6f1052357fcdaca5dc3ecc9..9952535671f2fb54f1024816d8254410e830061f 100644
(file)
--- 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;
}