diff options
author | Terry Lv <r65388@freescale.com> | 2011-03-29 21:08:40 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2011-04-11 12:46:49 +0800 |
commit | 80426bc69f49f8aba415a73115bb33697e8b1cf6 (patch) | |
tree | d952c2809ca185cf011832c05ff0f5445c2c5ddc | |
parent | 1d230f43d31a21d9c34c91fd5f65b9919dcd54db (diff) | |
download | u-boot-imx-80426bc69f49f8aba415a73115bb33697e8b1cf6.zip u-boot-imx-80426bc69f49f8aba415a73115bb33697e8b1cf6.tar.gz u-boot-imx-80426bc69f49f8aba415a73115bb33697e8b1cf6.tar.bz2 |
ENGR00141335-1: Use bypass way to set ddr dll in mx53
Usually dll setup for eMMC4.4 DDR is required to polling SLV_LOCK status
bit. However the system hangs when polling for SLV_LOCK bit.
The temporary workaround is to force slave override mode to bypass it.
Signed-off-by: Terry Lv <r65388@freescale.com>
-rw-r--r-- | drivers/mmc/imx_esdhc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/imx_esdhc.c b/drivers/mmc/imx_esdhc.c index fa32827..ced336a 100644 --- a/drivers/mmc/imx_esdhc.c +++ b/drivers/mmc/imx_esdhc.c @@ -343,7 +343,7 @@ static void esdhc_dll_setup(struct mmc *mmc) /* For i.MX50 TO1, need to force slave override mode */ if (get_board_rev() == (0x50000 | CHIP_REV_1_0) || - get_board_rev() == 0x53000) { + ((get_board_rev() & 0xff000) == 0x53000)) { dll_control = readl(®s->dllctrl); dll_control &= ~(ESDHC_DLLCTRL_SLV_OVERRIDE_VAL_MASK | |