Gregory CLEMENT b4670a0c2b mmc: atmel: Properly fix clock configuration
Timing issue occurs on eMMC not only when modifying the frequency but
also for all the switch command(CMD6). According to the MMC spec waiting
8 clocks after a switch command would be the thing to do.

This patch allows fixing CPU hang observed when trying to changing the
bus width on a eMMC on SAMA5D4.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Marek Vasut <marex@denx.de> # on DENX MA5D4EV
Acked-by: Marek Vasut <marex@denx.de>
Tested-by: Andreas Bießmann <andreas.devel@googlemail.com> # on atngw100
Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>
[fixed minor checkpatch warning]
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
2016-01-27 13:58:58 +01:00
..
2015-10-20 22:48:28 +02:00
2015-05-05 12:29:36 +03:00
2015-11-03 14:21:31 +01:00
2015-08-13 11:24:26 +03:00
2015-07-21 17:39:25 -06:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2015-12-07 10:14:29 +01:00