summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2013-10-29 19:39:04 (GMT)
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-29 23:40:33 (GMT)
commit60599f06c4d8dfcfd0e4ba4d922f1a4e21caefe5 (patch)
treeacdb0a5f6a6e8afc509cd061a5522e1112fb2332
parent2148f5f0ea3cd56f04ec484657513d12ecf1237e (diff)
downloaddepthcharge-firmware-falco_peppy-4389.81.B.tar.gz
depthcharge-firmware-falco_peppy-4389.81.B.tar.xz
HACK: Modify storage device spinup timeoutfirmware-falco_peppy-4389.81.B
Previously the timeout was raised to 20s to work around a quirk on a certain SSD after power wash / dev mode transition. After discussion with the drive vendor, the worst-case delay is actually 23s. Though we have not yet seen delays > 14s, bump the timeout to 25s to accomodate the worst-case theoretical delay. BUG=chrome-os-partner:23267 TEST=Compile only. Change-Id: I2c155dcb07d15cec43ef063302f601711b649a4c Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/174957 Reviewed-by: Gabe Black <gabeblack@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
-rw-r--r--src/drivers/storage/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/storage/ahci.c b/src/drivers/storage/ahci.c
index c79f401..fc0a9c0 100644
--- a/src/drivers/storage/ahci.c
+++ b/src/drivers/storage/ahci.c
@@ -44,7 +44,7 @@ typedef struct AhciDevData {
/* Maximum timeouts for each event */
/* TODO(shawnn): Set timeout back to 10s once we resolve the issue of
* slow spinup after power wash on certain SSDs. */
-static const int wait_ms_spinup = 20000;
+static const int wait_ms_spinup = 25000;
static const int wait_ms_flush = 5000;
static const int wait_ms_dataio = 5000;
static const int wait_ms_linkup = 4;