From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sat, 05 Jan 2013 17:59:11 +0100 Subject: [U-Boot] [PATCH 1/3] fsl_esdhc: add MMC_MODE_HC host_caps In-Reply-To: <1356912900-32228-2-git-send-email-shawn.guo@linaro.org> References: <1356912900-32228-1-git-send-email-shawn.guo@linaro.org> <1356912900-32228-2-git-send-email-shawn.guo@linaro.org> Message-ID: <50E85BDF.9040307@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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: sbabic at denx.de =====================================================================