summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-12-30 14:14:58 +0000
committerStefano Babic <sbabic@denx.de>2013-01-05 17:56:42 +0100
commitfb8302bfc50c6763e20a077cba4a315404ffb727 (patch)
tree2ea87c2c22cde647b1b7916ce859929b937ab274
parente660c44d9e3b4b6d156e5a6dacf62ced86fac216 (diff)
downloadu-boot-imx-fb8302bfc50c6763e20a077cba4a315404ffb727.zip
u-boot-imx-fb8302bfc50c6763e20a077cba4a315404ffb727.tar.gz
u-boot-imx-fb8302bfc50c6763e20a077cba4a315404ffb727.tar.bz2
fsl_esdhc: add MMC_MODE_HC host_caps
All esdhc variants we know should support high capacity MMC cards, so let's add MMC_MODE_HC host_caps unconditionally to support those MMC cards (capacity > 2 GB). Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--drivers/mmc/fsl_esdhc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index e93e38a..3d5c9c0 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -577,7 +577,7 @@ int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg)
return -1;
}
- mmc->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT;
+ mmc->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT | MMC_MODE_HC;
if (caps & ESDHC_HOSTCAPBLT_HSS)
mmc->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS;