summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pci.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2013-04-08 23:28:09 +0200
committerChris Ball <cjb@laptop.org>2013-04-12 15:13:41 -0400
commite48fc15aa205f380b2fc6d565724a55b1efd8083 (patch)
treeea229dfbfaeeabe15f606734959eeb76f3f34c18 /drivers/mmc/host/sdhci-pci.c
parent42477053c389900f28e200c198830c838989809f (diff)
downloadblackbird-obmc-linux-e48fc15aa205f380b2fc6d565724a55b1efd8083.tar.gz
blackbird-obmc-linux-e48fc15aa205f380b2fc6d565724a55b1efd8083.zip
mmc: mxcmmc: enable DMA support on mpc512x
Add SDHC DMA channel description to the mpc512x device tree to enable slave channel requesting in the mxcmmc driver. mpc512x DMA engine doesn't support endianness conversion when reading/writing data from peripheral's FIFO, so we have to swap data buffers before each DMA write and after each DMA read transfer manually. Since chained SDHC DMA transfers are not supported on mpc512x, limit 'max_segs' tunable parameter to one and initialise it to 64 only when running on i.MX platforms. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud