On 31/12/2012 01:14, Shawn Guo wrote: > 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....@linaro.org> > --- > drivers/mmc/fsl_esdhc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c > index e93e38a..29f3122 100644 > --- a/drivers/mmc/fsl_esdhc.c > +++ b/drivers/mmc/fsl_esdhc.c > @@ -262,6 +262,7 @@ static void check_and_invalidate_dcache_range > unsigned end = start+size ; > invalidate_dcache_range(start, end); > } > +
I drop myself this from the commit. > /* > * Sends a command out on the bus. Takes the mmc pointer, > * a command pointer, and an optional data pointer. > @@ -577,7 +578,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; > Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot