From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Date: Tue, 21 May 2013 17:44:35 -0500 Subject: [U-Boot] [PATCH 6/7] ahci: increase spin-up timeout to 20 sec In-Reply-To: <1369176276-1895-1-git-send-email-robherring2@gmail.com> References: <1369176276-1895-1-git-send-email-robherring2@gmail.com> Message-ID: <1369176276-1895-6-git-send-email-robherring2@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Rob Herring Based on Linux libata code, most drives are less than 10 sec, but some need up to 20 sec. Signed-off-by: Rob Herring --- drivers/block/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index 5ffdf95..ac60891 100644 --- a/drivers/block/ahci.c +++ b/drivers/block/ahci.c @@ -55,7 +55,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 -- 1.8.1.2