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

@ -165,6 +165,9 @@ int ata_num_drives(int first_drive);
long ata_last_disk_activity(void);
int ata_spinup_time(void); /* ticks */
/* Returns 1 if drive is solid-state */
int ata_disk_isssd(void);
#ifdef HAVE_ATA_DMA
/* Returns current DMA mode */
int ata_get_dma_mode(void);