diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-12-12 17:55:29 -0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2012-12-17 15:38:15 +0100 |
commit | 8b57e2f0814a2fd9aed1fa09d8279eaf90764560 (patch) | |
tree | 9c20381ef2e51866360af00489c968a1b3c2b026 /common/cmd_net.c | |
parent | 359439d2888fdc3797903963607bb0bbd4582e08 (diff) | |
download | talos-obmc-uboot-8b57e2f0814a2fd9aed1fa09d8279eaf90764560.tar.gz talos-obmc-uboot-8b57e2f0814a2fd9aed1fa09d8279eaf90764560.zip |
usb: properly detect empty mass storage media reader
When a USB card reader is empty, it will return "Not Ready - medium not
present" as Key Code Qualifier. In that situation, it's useless waiting
for the full timeout since the result won't change until the user
inserts a card.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_net.c')
0 files changed, 0 insertions, 0 deletions