summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-08-24 10:10:53 -0500
committerTom Rini <trini@ti.com>2013-09-06 13:09:07 -0400
commit7610b41ddf3c8d1234b38817621f29407deaf32f (patch)
treea761c1d93c8f4d268a1312e36273a8b0b7eb9d0e /drivers/block
parent178210847f7d8492c6aa1d39867d99538be0e7d4 (diff)
ahci: increase spin-up timeout to 20 sec
Based on Linux libata code, most drives are less than 10 sec, but some need up to 20 sec. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c
index a7044f2ea7a..7f78c003014 100644
--- a/drivers/block/ahci.c
+++ b/drivers/block/ahci.c
@@ -38,7 +38,7 @@ hd_driveid_t *ataid[AHCI_MAX_PORTS];
#endif
/* Maximum timeouts for each event */
-#define WAIT_MS_SPINUP 10000
+#define WAIT_MS_SPINUP 20000
#define WAIT_MS_DATAIO 5000
#define WAIT_MS_FLUSH 5000
#define WAIT_MS_LINKUP 4