From: Anatolij Gustschin Date: Mon, 8 Apr 2013 21:28:09 +0000 (+0200) Subject: mmc: mxcmmc: enable DMA support on mpc512x X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~41^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e48fc15aa205f380b2fc6d565724a55b1efd8083;p=pandora-kernel.git 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 Acked-by: Sascha Hauer Signed-off-by: Chris Ball --- Reading git-diff-tree failed