[PATCH 0/3] mmc: mtk-sd: fix HS200 mode writes on mt8189

Julien Stephan jstephan at baylibre.com
Tue Apr 28 16:39:39 CEST 2026


Le mar. 21 avr. 2026 à 16:24, David Lechner <dlechner at baylibre.com> a écrit :
>
> This series contains a few fixes to fix HS200 mode writes failing on
> Genio 720 EVK, which uses the mediatek,mt8189-mmc compatible controller.
>
> For example, trying to save the environment to MMC would fail like this:
>
>     => saveenv
>     Saving Environment to MMC... Writing to MMC(0)... MSDC: start data failure with -5, INT(0xa000), rawcmd=0x2003099, arg=0x0
>     mmc write failed
>     failed
>     Failed (1)
>
> Signed-off-by: David Lechner <dlechner at baylibre.com>
> ---
> David Lechner (2):
>       mmc: mtk-sd: enable DMA on mediatek,mt8189-mmc
>       mmc: mtk-sd: enable async_fifo_crcsts on mt8189
>
> ht.lin (1):
>       mmc: mtk-sd: fix msdc cmd ready check
>
>  drivers/mmc/mtk-sd.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> ---
> base-commit: 71176c454f59b3f9ad166ee3b807bbef712e8d37
> change-id: 20260417-mmc-mtk-sd-fixes-e31112f733e0
>
> Best regards,
> --
> David Lechner <dlechner at baylibre.com>
>

Tested on genio-520

Reviewed-by: Julien Stephan <jstephan at baylibre.com>
Tested-by: Julien Stephan <jstephan at baylibre.com>


More information about the U-Boot mailing list