]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fsl_esdhc: add MMC_MODE_HC host_caps
authorShawn Guo <shawn.guo@linaro.org>
Sun, 30 Dec 2012 14:14:58 +0000 (14:14 +0000)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Jan 2013 16:56:42 +0000 (17:56 +0100)
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>
drivers/mmc/fsl_esdhc.c

index e93e38ac4346fdebe203621aa5eac95e9355e660..3d5c9c0f77ef9f3910590c7a36212675d2b17b56 100644 (file)
@@ -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;