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/drivers/ata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers/ata.c') diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index db39255256..ba0d6d169e 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -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 -- cgit v1.2.3