Skip to content

mmc: fsl_esdhc: ls1028a workarounds

Michael Walle u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4board: sl28: disable HS400 modeconfigs/kontron_sl28_defconfig+1 -12 replies
1/4board: sl28: disable HS400 mode+0 -01 reply
2/4mmc: fsl_esdhc: add workaround for erratum A-011334arch/arm/cpu/armv8/fsl-layerscape/Kconfig drivers/mmc/Kconfig drivers/mmc/fsl_esdhc.c+28 -10 replies
3/4mmc: fsl_esdhc: add pulse width detection workaroundarch/arm/cpu/armv8/fsl-layerscape/Kconfig drivers/mmc/Kconfig drivers/mmc/fsl_esdhc.c +1 more+12 -11 reply
3/4mmc: fsl_esdhc: add pulse width detection workaround+0 -01 reply
4/4board: sl28: enable HS400 mode againconfigs/kontron_sl28_defconfig+1 -10 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchJaehoon Chung
1/4
1/4
2/4
3/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.20.1