mci: sdhci: atmel: avoid buggy SDHCI_RESET_ALL
On the sama5d27, currently only the MCI used for boot is operational.
The other one errors out when failing to reset the card.

Changing the RESET_ALL to RESET_CMD | RESET_DATA fixes this.
This might be due to the SoC's "11.1   Software 'Reset For all'
command may not execute properly" erratum[1]:
> The software 'Reset For All' command may not execute properly, and, as
> a result, some registers of the host controller may not reset properly.
> The setting of the different registers must be checked beforere
> initializing the SD card.

[1]: DS80000827A

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 302c742 commit 611a2629b9f9176f46e98d3eb40b19dbbc3f3005
@Ahmad Fatoum Ahmad Fatoum authored on 23 Jun 2020
Sascha Hauer committed on 23 Jun 2020
Showing 1 changed file
View
drivers/mci/atmel-sdhci.c