[PATCH 0/4] mmc: fsl_esdhc: ls1028a workarounds

Michael Walle michael at walle.cc
Wed Mar 17 15:01:34 CET 2021


This patchset fixes HS400 mode on LS1028A SoC which is broken since commit
8ee802f899ef ("mmc: fsl_esdhc: make sure delay chain locked for HS400").
Well, before it might just have worked by accident.

=> run bootcmd_mmc0
fsl_esdhc: delay chain lock timeout
Select HS400 failed -110
unable to select a mode : -5

Because the sl28 board already uses that mode, MMC boot is broken. The
first patch disables HS400 mode on this board.
Tom, patch 1 should go into the master branch for the 2021.04 release.

Patches 2 and 3 introduce the actual workarounds, patch 4 will then
reenable the HS400 mode on the sl28 board. I don't expect that this will
make it into the next release.

Michael Walle (4):
  board: sl28: disable HS400 mode
  mmc: fsl_esdhc: add workaround for erratum A-011334
  mmc: fsl_esdhc: add pulse width detection workaround
  board: sl28: enable HS400 mode again

 arch/arm/cpu/armv8/fsl-layerscape/Kconfig |  2 ++
 drivers/mmc/Kconfig                       |  6 +++++
 drivers/mmc/fsl_esdhc.c                   | 31 +++++++++++++++++++++--
 include/fsl_esdhc.h                       |  3 +++
 4 files changed, 40 insertions(+), 2 deletions(-)

-- 
2.20.1



More information about the U-Boot mailing list