From 5db83c155affd1968872044fc6a3a156cf966ba4 Mon Sep 17 00:00:00 2001 From: Torne Wuff Date: Sun, 12 May 2013 22:38:52 +0100 Subject: 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 --- firmware/export/ata.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export') 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); 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); -- cgit v1.2.3