[ARM] 3751/1: i.MX/MX1 SD/MMC use 512 bytes request for SCR read
authorPavel Pisa <ppisa@pikron.com>
Thu, 7 Sep 2006 14:53:29 +0000 (15:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Sep 2006 14:53:29 +0000 (15:53 +0100)
commit59b41fd7abc2f7f91ab89e4477f83de481f2bf29
tree1a413a79d37661199786f6fe2db3fe8bd7b5556a
parent58817150d180584526c9783a8e1e79d8bd7b2657
[ARM] 3751/1: i.MX/MX1 SD/MMC use 512 bytes request for SCR read

Patch from Pavel Pisa

This is another approach to SDHC deficiency workaround.
It seems, that previous solution based on 16 bytes (FIFO length size)
read is still timing sensitive on genirq and fully preemptive kernels.
The new solution is backuped by M9328 UM statement, that only 512 byte
block are working properly and by 2.4.26 FreeScale's SDHC code.

Jay Monkman reports significant improvement on code based
on this driver after applying this change on MX21 as well.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/imxmmc.c