[PATCH 1/3] mmc: mtk-sd: enable DMA on mediatek,mt8189-mmc

David Lechner dlechner at baylibre.com
Tue Apr 21 16:24:04 CEST 2026


Enable DMA on mediatek,mt8189-mmc compatible. The issue that was
preventing DMA from working correctly was fixed by the
get_effective_memsize() implementation in commit a7c682565b4b ("arm:
mediatek: add support of MT8189 SoC family").

Signed-off-by: David Lechner <dlechner at baylibre.com>
---
 drivers/mmc/mtk-sd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/mtk-sd.c b/drivers/mmc/mtk-sd.c
index 7a4bdee7496..d2472ae7efe 100644
--- a/drivers/mmc/mtk-sd.c
+++ b/drivers/mmc/mtk-sd.c
@@ -1987,6 +1987,7 @@ static const struct msdc_compatible mt8189_compat = {
 	.busy_check = true,
 	.stop_clk_fix = true,
 	.enhance_rx = true,
+	.use_dma_mode = true,
 };
 
 static const struct udevice_id msdc_ids[] = {

-- 
2.43.0



More information about the U-Boot mailing list