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@xxxxxxxxxxxxx> > Signed-off-by: Richard Zhao <richard.zhao@xxxxxxxxxxxxx> Reviewed-by: Wolfram Sang <w.sang@xxxxxxxxxxxxxx> 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/ |
Attachment:
signature.asc
Description: Digital signature