summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-11-26 08:17:10 -0500
committerSolomon Peachy <pizza@shaftnet.org>2024-11-26 08:20:02 -0500
commit127b583a4da5b48225cce7336139c1339a30ea9b (patch)
tree1a491c4a3e9e7349f59183016e4e6e098cf15dc1
parentb8d2ba3fc4cd6b53d89b944202bc2210ae10fe5f (diff)
downloadrockbox-127b583a4d.tar.gz
rockbox-127b583a4d.zip
ipod6g: Turn on STORAGE_NEEDS_BOUNCE_BUFFER
The s5l8702's ATA controller can only DMA in/out of cacheline- aligned buffers. The more general buffering code already ensures its buffers are aligned, but this covers the rest of the users of the general I/O path. Change-Id: Iae54d98797efb61756cb73e3901308775a0c5e52
-rw-r--r--firmware/export/config/ipod6g.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/config/ipod6g.h b/firmware/export/config/ipod6g.h
index b1ca0c2da9..d2349309f2 100644
--- a/firmware/export/config/ipod6g.h
+++ b/firmware/export/config/ipod6g.h
@@ -12,6 +12,8 @@
/* define this if you use an ATA controller */
#define CONFIG_STORAGE STORAGE_ATA
+#define STORAGE_NEEDS_BOUNCE_BUFFER
+
#define HAVE_ATA_DMA
#define ATA_MAX_UDMA 4
#define ATA_MAX_MWDMA 2