summaryrefslogtreecommitdiff
path: root/include/configs/tegra2-common.h
diff options
context:
space:
mode:
authorTom Wai-Hong Tam <waihong@chromium.org>2011-03-22 14:01:50 +0800
committerSimon Glass <sjg@chromium.org>2011-08-24 09:56:46 -0700
commit65bc17b32ce0906ff4d9cc5560b45269545a202c (patch)
treedf214711f1b411cc4fe8a49e2daeb5354925ac5a /include/configs/tegra2-common.h
parenteb8430bab0ce7af39642417923f93760f9828901 (diff)
No retry for USB storage to speed up the resume time.
In the scenario, a user inserts a USB storage and boots to recovery mode, we required the user to plug the USB out first. However, in the meantime that the system is scanning the USB, the user plugs it out. It may need ~50sec to resume because there are many retry there. This change makes it no retry such that it only takes <1sec to resume. R=clchiou@chromium.org,sjg@chromium.org BUG=chromium-os:10500 TEST=emerge-tegra2_seaboard chromeos-u-boot-next successfully. When the system is scanning the USB storage, plug the USB out. It takes <1sec to resume. Review URL: http://codereview.chromium.org/6685083 Change-Id: I7d002a879bc8f93ccc354b5fc4a28b55a88276d1 Reviewed-on: http://gerrit.chromium.org/gerrit/397 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/tegra2-common.h')
-rw-r--r--include/configs/tegra2-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h
index e59778b575..dc93b94a30 100644
--- a/include/configs/tegra2-common.h
+++ b/include/configs/tegra2-common.h
@@ -105,6 +105,7 @@
#define CONFIG_EHCI_IS_TDI
#define CONFIG_EHCI_DCACHE
#define CONFIG_USB_STORAGE
+#define CONFIG_USB_STOR_NO_RETRY
#define CONFIG_CMD_USB /* USB Host support */