]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mmc: mediatek: add DMA mode support
authorht.lin <ht.lin@mediatek.com>
Wed, 21 Jan 2026 22:36:26 +0000 (16:36 -0600)
committerPeng Fan <peng.fan@nxp.com>
Tue, 3 Feb 2026 14:10:14 +0000 (22:10 +0800)
commit9652f2591d52804ffd9e88faecfe0ba246d6c317
treebd04ade0cd2d137cd99f19e774bda8b8f95e0455
parentaa38b1781078e312ee0eacfe20fc1914d7b1f0e7
mmc: mediatek: add DMA mode support

Implement DMA support in the MediaTek MMC driver to enhance data
transfer speed.

- Define DMA control and configuration registers
- Implement functions for starting, stopping, and completing DMA
  transfers
- Modify data transfer logic to utilize DMA when enabled
- Ensure proper cache management during DMA operations

Signed-off-by: Wenbin Mei <wenbin.mei@mediatek.com>
Signed-off-by: ht.lin <ht.lin@mediatek.com>
Signed-off-by: Julien Masson <jmasson@baylibre.com>
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/mtk-sd.c