summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/ata.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index f63b795..67aab8a 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -949,6 +949,7 @@ static int ata_power_on(void)
int rc;
ide_power_enable(true);
+ sleep(HZ/50); /* allow voltage to build up */
if( ata_hard_reset() )
return -1;
@@ -1145,7 +1146,7 @@ int ata_init(void)
if (!ide_powered()) /* somebody has switched it off */
{
ide_power_enable(true);
- sleep(HZ); /* allow voltage to build up */
+ sleep(HZ/50); /* allow voltage to build up */
}
/* first try, hard reset at cold start only */