[U-Boot] [PATCH V2 1/3] mmc: fsl: reset to normal boot mode when eMMC fast boot

york sun york.sun at nxp.com
Tue Jun 28 20:24:33 CEST 2016


On 06/14/2016 07:53 PM, Peng Fan wrote:
> When booting in eMMC fast boot, MMC host does not exit from
> boot mode after bootrom loading image. So the first command
> 'CMD0' sent in uboot will pull down the CMD line to low and
> cause errors.
>
> This patch cleans the MMC boot register in "mmc_init" to put the
> MMC host back to normal mode.
>
> Also clear DLL_CTRL delay line settings at USDHC initialization
> to eliminate the pre-settings from boot rom.
>
> Signed-off-by: Peng Fan <van.freenix at gmail.com>
> Cc: Pantelis Antoniou <panto at antoniou-consulting.com>
> Cc: York Sun <york.sun at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> ---
>
> V2:
>   Rebased to lastest u-boot master
>
>   drivers/mmc/fsl_esdhc.c | 38 +++++++++++++++++++++++++++++---------
>   include/fsl_esdhc.h     |  6 ++++++
>   2 files changed, 35 insertions(+), 9 deletions(-)
>

This set is applied to u-boot-fsl-qoriq. Awaiting upstream.
Thanks.

York



More information about the U-Boot mailing list