]> git.baikalelectronics.ru Git - kernel.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)
commitecf922eeeff0b984ee938d4e11fc2bb6876edc2c
tree302cd677150fe51383d93566a271216a137cfc9a
parent5ca4aff04cc5274e6fb1a6408b48b164eac50648
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