]> git.kernelconcepts.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>
Wed, 26 Oct 2011 19:43:34 +0000 (15:43 -0400)
commit97e4ba6a5ea903a221d87bcabdaf01efb0a609a5
tree302cd677150fe51383d93566a271216a137cfc9a
parent51c5d8d1499b8442e863fe756f76e7f4ea7476fb
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