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/target/arm/pp/ata-target.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/target/arm/pp/ata-target.h') diff --git a/firmware/target/arm/pp/ata-target.h b/firmware/target/arm/pp/ata-target.h index a11aeda36d..75570bf3cd 100644 --- a/firmware/target/arm/pp/ata-target.h +++ b/firmware/target/arm/pp/ata-target.h @@ -49,6 +49,8 @@ #define ATA_OPTIMIZED_READING #define ATA_OPTIMIZED_WRITING +#define ATA_SET_PIO_TIMING + #endif /* CONFIG_CPU */ #ifdef HAVE_ATA_DMA -- cgit v1.2.3