From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] fsl_esdhc: add MMC_MODE_HC host_caps
Date: Sat, 05 Jan 2013 17:59:11 +0100 [thread overview]
Message-ID: <50E85BDF.9040307@denx.de> (raw)
In-Reply-To: <1356912900-32228-2-git-send-email-shawn.guo@linaro.org>
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.guo@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: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2013-01-05 16:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-31 0:14 [U-Boot] [PATCH 0/3] Enable eMMC on mx6qsabresd board Shawn Guo
2012-12-31 0:14 ` [U-Boot] [PATCH 1/3] fsl_esdhc: add MMC_MODE_HC host_caps Shawn Guo
2012-12-31 3:59 ` Shawn Guo
2013-01-05 16:59 ` Stefano Babic [this message]
2012-12-31 0:14 ` [U-Boot] [PATCH 2/3] mx6qsabresd: add usdhc2 and usdhc4 support Shawn Guo
2013-01-05 17:02 ` Stefano Babic
2012-12-31 0:15 ` [U-Boot] [PATCH 3/3] mx6qsabresd: use on-board eMMC to store environment Shawn Guo
2013-01-05 17:01 ` Stefano Babic
2012-12-31 0:22 ` [U-Boot] [PATCH 0/3] Enable eMMC on mx6qsabresd board Shawn Guo
2012-12-31 2:32 ` Fabio Estevam
2012-12-31 3:54 ` Shawn Guo
2013-01-04 9:08 ` Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50E85BDF.9040307@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox