]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl: reset to normal boot mode when eMMC fast boot
authorPeng Fan <van.freenix@gmail.com>
Wed, 15 Jun 2016 02:53:00 +0000 (10:53 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 28 Jun 2016 19:08:53 +0000 (12:08 -0700)
commitf53225cce406058c09cf81456d9dc4956fef1b73
tree005e441c99059d6894d419cb91982ca29d031ca7
parent68aaa980c488696fa6f71109e53e819b02455e33
mmc: fsl: reset to normal boot mode when eMMC fast boot

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@gmail.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: York Sun <york.sun@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/mmc/fsl_esdhc.c
include/fsl_esdhc.h