]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-esdhc-imx: Enable ADMA2
authorRichard Zhu <richard.zhu@linaro.org>
Thu, 11 Aug 2011 20:51:46 +0000 (16:51 -0400)
committerChris Ball <cjb@laptop.org>
Tue, 23 Aug 2011 16:16:17 +0000 (12:16 -0400)
commit4418e33e729f79b7d60d2434e60bc815ba1af9c3
tree6769d1fa91324e91a51048106c725bbbfa8656f5
parent53f45e03faa9d3229a30676508508fb172bb9e5a
mmc: sdhci-esdhc-imx: Enable ADMA2

Eanble the ADMA2 mode for freescale esdhc imx driver, tested on MX25
3DS board, MX51 BBG board and MX53 LOCO board.

This patch is only used to enable the ADMA2 for MX51/53 platforms.
MX25/35 can't support the ADMA2 mode, set BROKEN_ADMA quirk on
MX25/35 platforms.

The ADMA mode supported or not can be distinguished by bit 20 of
the Capability Register (offset 0x40) in the FSL eSDHC module.

Signed-off-by: Richard Zhu <richard.zhu@linaro.org>
Tested-and-acked-by: Eric Miao <eric.miao@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c