[PATCH V7 4/4] mmc: sdhci-esdhc: enable esdhc on imx53
Wolfram Sang
w.sang at pengutronix.de
Mon Mar 21 09:08:44 EDT 2011
On Mon, Mar 21, 2011 at 01:22:16PM +0800, Richard Zhu wrote:
> 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 one 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 received timeout
> exeception. set bit1 of Vendor Spec registor to fix it.
>
> Signed-off-by: Richard Zhu <Hong-Xing.Zhu at freescale.com>
> Signed-off-by: Richard Zhao <richard.zhao at freescale.com>
Reviewed-by: Wolfram Sang <w.sang at pengutronix.de>
I am still wondering if one of the fixes could be handled at core level,
but I don't have hardware to test. But I may be wrong, so this is good
enough for now to go in IMO.
Thanks,
Wolfram
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110321/7accab93/attachment.sig>
More information about the linux-arm-kernel
mailing list