]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sdhci: Move DMA handling to prepare_dma() function
authorFaiz Abbas <faiz_abbas@ti.com>
Tue, 16 Apr 2019 17:36:57 +0000 (23:06 +0530)
committerPeng Fan <peng.fan@nxp.com>
Fri, 3 May 2019 12:43:50 +0000 (20:43 +0800)
commit6d6af20571d1f64b823ca0116654f326c3ac495f
treecd4f7f88b22a429e1d4f5100de6552a224653f6f
parentda8e1f3cd413423563ee37f915944b76f9b862db
mmc: sdhci: Move DMA handling to prepare_dma() function

In preparation for addition of ADMA2 support, cleanup SDMA handling by
moving it to a new sdhci_prepare_dma() function. Also add a flags field
in sdhci_host to indicate if DMA is enabled.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
drivers/mmc/sdhci.c
include/sdhci.h