summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2015-12-17 03:11:10 +0100
committerCástor Muñoz <cmvidal@gmail.com>2015-12-17 10:53:00 +0100
commit2d23c0310e9e5b686d503ece658e3a80a0aba62d (patch)
tree1d1ac2285f04fd5a828ae6d10489d762819ea508
parent00bda90a21d2c976cabd1926c96a81ad4a319b4e (diff)
downloadrockbox-2d23c03.tar.gz
rockbox-2d23c03.tar.bz2
rockbox-2d23c03.zip
iPod Classic: use uncached memory for USB driver
Change-Id: I0e72b4a452a17ec894c975dfee4baee878113ff8
-rw-r--r--firmware/target/arm/usb-s3c6400x.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/usb-s3c6400x.c b/firmware/target/arm/usb-s3c6400x.c
index af4e564442..5fcbde9fd6 100644
--- a/firmware/target/arm/usb-s3c6400x.c
+++ b/firmware/target/arm/usb-s3c6400x.c
@@ -43,6 +43,10 @@
#define UNCACHED_ADDR AS3525_UNCACHED_ADDR
#define PHYSICAL_ADDR AS3525_PHYSICAL_ADDR
static inline void discard_dma_buffer_cache(void) {}
+#elif CONFIG_CPU == S5L8702
+#define UNCACHED_ADDR S5L8702_UNCACHED_ADDR
+#define PHYSICAL_ADDR S5L8702_PHYSICAL_ADDR
+static inline void discard_dma_buffer_cache(void) {}
#else
#define UNCACHED_ADDR
#define PHYSICAL_ADDR