Commit 7610b41d authored by Rob Herring's avatar Rob Herring Committed by Tom Rini
Browse files

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: default avatarRob Herring <>
Reviewed-by: default avatarTom Rini <>
parent 17821084
......@@ -38,7 +38,7 @@ hd_driveid_t *ataid[AHCI_MAX_PORTS];
/* 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment