Skip to content
Snippets Groups Projects
Commit 14448e9c authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Jaehoon Chung
Browse files

mmc: fsl_esdhc_imx: fix watermark level in dma


Seems that we need the waterlevel setting not only for PIO mode as
without this at least the i.MX 8M Mini won't boot anymore when being
written by such a U-Boot. Corruption has also been observed both on
the i.MX 6 as well as i.MX 8M Mini when using ums on the eMMC. Fix
this by setting the watermark level again regardless of whether in
DMA or PIO mode.

Fixes: 41c6a22f ("mmc: fsl_esdhc_imx: simplify esdhc_setup_data()")
Signed-off-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Tested-by: default avatarFabio Estevam <festevam@gmail.com>
parent 1d4b3b2f
No related branches found
Tags mmc-2022-2-9
No related merge requests found
Pipeline #10916 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment