diff options
authorShawn Nematbakhsh <>2013-10-29 19:39:04 (GMT)
committerchrome-internal-fetch <>2013-10-29 23:40:33 (GMT)
commit60599f06c4d8dfcfd0e4ba4d922f1a4e21caefe5 (patch)
parent2148f5f0ea3cd56f04ec484657513d12ecf1237e (diff)
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 <> Reviewed-on: Reviewed-by: Gabe Black <> Reviewed-by: Duncan Laurie <>
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;