]> Pileus Git - ~andy/linux/commit
mmc: sdhci-esdhc: enable esdhc on imx53
authorRichard Zhu <Hong-Xing.Zhu@freescale.com>
Mon, 21 Mar 2011 05:22:16 +0000 (13:22 +0800)
committerChris Ball <cjb@laptop.org>
Fri, 25 Mar 2011 14:30:50 +0000 (10:30 -0400)
commit58ac8177cebb890ba980cdace36457e0fe1e62af
tree2d5d7946fe1d4f650d79abdef8270809d0bcdbbc
parente149860d16d96aef1a8eb7dc1d0b9d4313479e61
mmc: sdhci-esdhc: enable esdhc on imx53

Fix the NO INT in the Multi-BLK IO in SD/MMC, and Multi-BLK read in
SDIO on imx53.

The CMDTYPE of the CMD register (offset 0xE) should be set to "11"
when the STOP CMD12 is issued on imx53 to abort one open ended
multi-blk IO. Otherwise the TC INT wouldn't be generated.

In exact block transfer, the controller doesn't complete the
operations automatically as required at the end of the transfer
and remains on hold if the abort command is not sent on imx53.

As a result, the TC flag is not asserted and SW receives timeout
exception. Set bit1 of Vendor Spec register to fix it.

Signed-off-by: Richard Zhu <Hong-Xing.Zhu@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c