diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-11-04 16:18:08 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-11-16 13:30:17 +0900 |
commit | a9003dc641cf881992897585392567811652de09 (patch) | |
tree | 7830d735335d48c2de2f8acf433cb95c20bfc69d /include/errno.h | |
parent | 29e0cfb4f77f7aa369136302cee14a91e22dca71 (diff) | |
download | u-boot-imx-a9003dc641cf881992897585392567811652de09.zip u-boot-imx-a9003dc641cf881992897585392567811652de09.tar.gz u-boot-imx-a9003dc641cf881992897585392567811652de09.tar.bz2 |
mmc: Retry the switch command
Some eMMC will fail at the first switch, but would succeed in a subsequent
one.
Make sure we try several times to cover those cases. The number of retries
(and the behaviour) is currently what is being used in Linux.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/errno.h')
0 files changed, 0 insertions, 0 deletions