mmc: fsl_esdhc: add pulse width detection workaround
authorMichael Walle <michael@walle.cc>
Wed, 17 Mar 2021 14:01:37 +0000 (15:01 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 11 May 2021 09:03:30 +0000 (14:33 +0530)
commit7a6584782d2baa4c19bf37cb73f420df3970ea2a
tree5166fc4d65800806ad48732fd2bbd72ab05976fa
parent05b4cb13f90caa1c6d388e4f9a2bf35107ef1c2e
mmc: fsl_esdhc: add pulse width detection workaround

HS400 mode on the LS1028A SoC isn't reliable. The linux driver has a
workaroung for the pulse width detection. Apply this workaround in
u-boot, too.

This will make HS400 mode work reliably on the LS1028A SoC.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
drivers/mmc/Kconfig
drivers/mmc/fsl_esdhc.c
include/fsl_esdhc.h