summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>2015-03-19 07:44:06 -0500
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>2015-05-05 11:55:00 +0300
commit1677eef45976da1cdccc73cd4291877dbb05eea9 (patch)
treeed05c85e37348591dd9204425e6ca74c087c8faf /config.mk
parentcc17c01f2d3b691ddadbd46727d5f22db0a90808 (diff)
downloadu-boot-imx-1677eef45976da1cdccc73cd4291877dbb05eea9.zip
u-boot-imx-1677eef45976da1cdccc73cd4291877dbb05eea9.tar.gz
u-boot-imx-1677eef45976da1cdccc73cd4291877dbb05eea9.tar.bz2
mmc: Restructure polling loops to avoid extra delays
The polling loops in sd_send_op_cond and mmc_complete_op_cond functions check the ready flag state at the end of the loop, that is after executing a delay inside the loop, which, in case of exiting with no error, is not needed. Also, one of these loops, as well as the loop in mmc_send_status, have the delay just before exiting on timeout conditions. Restructure all these loops to check the respective conditions before making a delay for the next loop pass, and to appropriately exit without the delay. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Diffstat (limited to 'config.mk')
0 files changed, 0 insertions, 0 deletions