]> git.baikalelectronics.ru Git - uboot.git/commit
Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue"
authorLukasz Majewski <lukma@denx.de>
Tue, 7 May 2019 15:47:28 +0000 (17:47 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 20 May 2019 03:34:27 +0000 (11:34 +0800)
commite2f239bfc608dd0a5d587c9f5789c0bfd66f36bf
treef4c6d202d0097a6adc6529b00f478490d58e5d7d
parentfff5849ae8b0b75ec2a369178a0f3c325ea7ad64
Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue"

This reverts commit 1bf215b1ee4d3e7496ee7be200453b7679ac1f65, which
causes the imx53 HSC to hang as the eMMC is not working properly anymore.

The exact error message:
MMC write: dev # 0, block # 2, count 927 ... mmc write failed
0 blocks written: ERROR

imx53 is not using the DDR mode.

Debugging of pre_div and div generation showed that those values are
generated in a way, which is not matching the ones from working setup.

As the original patch was performing code refactoring, let's revert this
change, so all imx53 boards would work again.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
drivers/mmc/fsl_esdhc.c