]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:20 +0000 (13:29 +0200)
commitb2175df29c444b23eb56114eaca5f9fbfde4eebc
tree318eefe51fad9df5f983c58a93b2a695701a59fd
parentb503799f9a0e0f11814cad3f4a752537b6033a12
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