From: Rob Herring Date: Sat, 24 Aug 2013 15:10:53 +0000 (-0500) Subject: ahci: increase spin-up timeout to 20 sec X-Git-Tag: v2025.01-rc5-pxa1908~15921 X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=7610b41ddf3c8d1234b38817621f29407deaf32f;p=u-boot.git 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 Reviewed-by: Tom Rini --- diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index a7044f2ea7..7f78c00301 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