On the H10 when we power the disk on again after spindown and poweroff we need to give it a little while to turn back on before we should try to access it. This should fix problems with disk accesses when coming from a disk poweroff state (related discussion in FS#6421).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12081 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Barry Wardell 2007-01-20 01:21:47 +00:00
parent 080e10da88
commit 041e5dceca

View file

@ -78,6 +78,7 @@ void ide_power_enable(bool on)
{
if(on){
GPIOF_OUTPUT_VAL &=~ 0x1;
sleep(1);
} else {
GPIOF_OUTPUT_VAL |= 0x1;
}