summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-13 05:25:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-13 05:25:57 +0000
commitfdcfc8a77c414b8d009a32e2bd155b967f959e8d (patch)
tree5098c21a764c4e28a27879c021f4506445eae53f
parentc1d789acdb20ae5b7fce737d9ec799a455e791a9 (diff)
s5l870x: use usb-s3c6400 defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31223 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/s5l8700.h2
-rw-r--r--firmware/export/s5l8702.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/s5l8700.h b/firmware/export/s5l8700.h
index 6494787f5c..420212ff3b 100644
--- a/firmware/export/s5l8700.h
+++ b/firmware/export/s5l8700.h
@@ -725,6 +725,6 @@
#define OTGBASE 0x38800000
#define PHYBASE 0x3C400000
#define SYNOPSYSOTG_CLOCK 0
-#define SYNOPSYSOTG_AHBCFG 0x27
+#define SYNOPSYSOTG_AHBCFG (GAHBCFG_dma_enable | (GAHBCFG_INT_DMA_BURST_INCR4 << GAHBCFG_hburstlen_bitp) | GAHBCFG_glblintrmsk)
#endif /* CONFIG_CPU==S5L8701 */
diff --git a/firmware/export/s5l8702.h b/firmware/export/s5l8702.h
index 31e6a63dbc..278bd1b0e8 100644
--- a/firmware/export/s5l8702.h
+++ b/firmware/export/s5l8702.h
@@ -120,7 +120,7 @@
#define OTGBASE 0x38400000
#define PHYBASE 0x3C400000
#define SYNOPSYSOTG_CLOCK 0
-#define SYNOPSYSOTG_AHBCFG 0x2B
+#define SYNOPSYSOTG_AHBCFG (GAHBCFG_dma_enable | (GAHBCFG_INT_DMA_BURST_INCR8 << GAHBCFG_hburstlen_bitp) | GAHBCFG_glblintrmsk)
/////I2C/////