diff options
author | Torne Wuff <torne@wolfpuppy.org.uk> | 2013-05-12 22:38:52 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-11-04 03:03:19 +0000 |
commit | 5db83c155affd1968872044fc6a3a156cf966ba4 (patch) | |
tree | 50fd4d2ef7bed155feaa79c3023af10e47075d8f /firmware/export | |
parent | 090bd9592df1e05e289e658c2530ae277a205318 (diff) | |
download | rockbox-5db83c155affd1968872044fc6a3a156cf966ba4.tar.gz rockbox-5db83c155affd1968872044fc6a3a156cf966ba4.zip |
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
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/ata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/ata.h b/firmware/export/ata.h index e6ca9422ea..7c5fd3a8d0 100644 --- a/firmware/export/ata.h +++ b/firmware/export/ata.h | |||
@@ -165,6 +165,9 @@ int ata_num_drives(int first_drive); | |||
165 | long ata_last_disk_activity(void); | 165 | long ata_last_disk_activity(void); |
166 | int ata_spinup_time(void); /* ticks */ | 166 | int ata_spinup_time(void); /* ticks */ |
167 | 167 | ||
168 | /* Returns 1 if drive is solid-state */ | ||
169 | int ata_disk_isssd(void); | ||
170 | |||
168 | #ifdef HAVE_ATA_DMA | 171 | #ifdef HAVE_ATA_DMA |
169 | /* Returns current DMA mode */ | 172 | /* Returns current DMA mode */ |
170 | int ata_get_dma_mode(void); | 173 | int ata_get_dma_mode(void); |