projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1782108
)
ahci: increase spin-up timeout to 20 sec
author
Rob Herring
<rob.herring@calxeda.com>
Sat, 24 Aug 2013 15:10:53 +0000
(10:10 -0500)
committer
Tom Rini
<trini@ti.com>
Fri, 6 Sep 2013 17:09:07 +0000
(13:09 -0400)
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>
drivers/block/ahci.c
patch
|
blob
|
history
diff --git
a/drivers/block/ahci.c
b/drivers/block/ahci.c
index a7044f2ea7aef3b5a65a382783e5f90a72988f21..7f78c0030144e7431e5f248e984dba7b2faaf69c 100644
(file)
--- 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
1
0000
+#define WAIT_MS_SPINUP
2
0000
#define WAIT_MS_DATAIO 5000
#define WAIT_MS_FLUSH 5000
#define WAIT_MS_LINKUP 4