]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sdhci: Use timer based timeout detection in sdhci_send_command()
authorStefan Roese <sr@denx.de>
Mon, 29 Jun 2015 12:58:08 +0000 (14:58 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Fri, 10 Jul 2015 12:54:00 +0000 (14:54 +0200)
commit29905a451b7ecf86785a4404e926fb14a8daced3
tree5476bbf318c2a63d860ed36198c2b03012f4839b
parentfca6105200b408d2a12acb0ef6e7cb530d773eef
mmc: sdhci: Use timer based timeout detection in sdhci_send_command()

The loop counter based timeout detection does not work on the Armada
38x based board (DB-88F6820-GP). At least with dcache enabled a
timeout is detected. Without dcache enabled, the timeout does not
occur. Increasing the loop counter solves this issue. But a better
solution is to use a timer based timeout detection instead. This
patch now implements this timer based detection.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Luka Perkov <luka.perkov@sartura.hr>
drivers/mmc/sdhci.c