Revert "mmc: retry the cmd8 to meet 74 clocks requirement in the spec"
authorMacpaul Lin <macpaul@andestech.com>
Mon, 14 Nov 2011 23:35:39 +0000 (23:35 +0000)
committerAndy Fleming <afleming@freescale.com>
Fri, 25 Nov 2011 23:43:05 +0000 (17:43 -0600)
commitafd5932b2c27c750ba7dbe39125916a45d2e1c13
tree05998c74471c89294369601b9285a73682b96cc3
parent5af9a56999c3c7ec827447d0b957e3e234f5d9a4
Revert "mmc: retry the cmd8 to meet 74 clocks requirement in the spec"

This reverts commit 02f3029f1810b99869254d0cf0a71946a008a728.

This patch add 3 times retry to CMD8 because the Marvell mmc controller
doesn't obey the power ramp up process in the SD specification 6.4.1.
(Please refer to figure 6.1 and 6.2 in the specification.)

The CMD0 should be send after power ramp up has been finished.
However, the Marvell mmc contorller must do power ramp up after the
first CMD0 command has been send.

This patch also affect existing platforms like Nokia N900 and other
platforms.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Acked-by: Lei Wen <leiwen@marvell.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
drivers/mmc/mmc.c