diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2015-11-05 20:58:30 +0100 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2016-01-27 13:58:58 +0100 |
commit | b4670a0c2bb9fd0a141436626d1853f995c8ed54 (patch) | |
tree | d632a7bd72baa8675396eb989eaa63ea57f1f229 /cmd/misc.c | |
parent | 9e4de7fd4acc8f99b6d383c711d21c0159849629 (diff) | |
download | blackbird-obmc-uboot-b4670a0c2bb9fd0a141436626d1853f995c8ed54.tar.gz blackbird-obmc-uboot-b4670a0c2bb9fd0a141436626d1853f995c8ed54.zip |
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>
Diffstat (limited to 'cmd/misc.c')
0 files changed, 0 insertions, 0 deletions