1
0
Fork 0
forked from len0rd/rockbox

pp5020: use ipod firmware timings for ATA PIO.

Some mSATA adapters seem to have trouble working with Rockbox using our
normal PIO timings; the timing value we use is probably out of spec and
is different to the OF. Switch to using the OF's timings according to
which PIO mode we select. This may not completely resolve problems with
these adapters but allows Rockbox to boot and play audio.

Change-Id: If73210700eb4af01864b373709ee1d15c775fb11
This commit is contained in:
Torne Wuff 2013-05-12 22:38:52 +01:00 committed by Solomon Peachy
parent 090bd9592d
commit 5db83c155a
4 changed files with 43 additions and 28 deletions

View file

@ -332,7 +332,7 @@ static ICODE_ATTR void copy_write_sectors(const unsigned char* buf,
}
#endif /* !ATA_OPTIMIZED_WRITING */
static inline int ata_disk_isssd(void)
int ata_disk_isssd(void)
{
/* offset 217 is "Nominal Rotation rate"
0x0000 == Not reported