From 127b583a4da5b48225cce7336139c1339a30ea9b Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 26 Nov 2024 08:17:10 -0500 Subject: [PATCH] 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 --- firmware/export/config/ipod6g.h | 2 ++ 1 file changed, 2 insertions(+) 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