summaryrefslogtreecommitdiff
path: root/firmware/export/as3525v2.h
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2016-07-31 03:52:22 +0200
committerGerrit Rockbox <gerrit@rockbox.org>2016-08-15 02:56:23 +0200
commit6a1644c52ac8af4696356db04894245f5a0e3dc3 (patch)
tree74813c30762ec62cc0df74e9ff28d9f1d7083d2a /firmware/export/as3525v2.h
parent9868da4978922f016f3853da28621e17d088a18e (diff)
downloadrockbox-6a1644c52ac8af4696356db04894245f5a0e3dc3.tar.gz
rockbox-6a1644c52ac8af4696356db04894245f5a0e3dc3.zip
as3525v2: use the new USB DesignWare driver
Targets: sansaclipplus, samsaclipv2, sansaclipzip, sansafuzev2. Change-Id: I7773528a4e26707dd33fe9cb8948750d49570701
Diffstat (limited to 'firmware/export/as3525v2.h')
-rw-r--r--firmware/export/as3525v2.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/export/as3525v2.h b/firmware/export/as3525v2.h
index 4c571f2a22..f68a07a2fb 100644
--- a/firmware/export/as3525v2.h
+++ b/firmware/export/as3525v2.h
@@ -37,7 +37,7 @@
37#define CGU_SDSLOT (*(volatile unsigned long *)(CGU_BASE + 0x3C)) 37#define CGU_SDSLOT (*(volatile unsigned long *)(CGU_BASE + 0x3C))
38 38
39#undef USB_NUM_ENDPOINTS 39#undef USB_NUM_ENDPOINTS
40 40/* 7 available EPs (0b00000000010101010000000000101011), 6 used */
41#define USB_NUM_ENDPOINTS 6 41#define USB_NUM_ENDPOINTS 6
42 42
43#define CCU_USB (*(volatile unsigned long *)(CCU_BASE + 0x20)) 43#define CCU_USB (*(volatile unsigned long *)(CCU_BASE + 0x20))
@@ -45,4 +45,8 @@
45#undef USB_DEVBSS_ATTR 45#undef USB_DEVBSS_ATTR
46#define USB_DEVBSS_ATTR __attribute__((aligned(32))) 46#define USB_DEVBSS_ATTR __attribute__((aligned(32)))
47 47
48/* Define this if the DWC implemented on this SoC does not support
49 DMA or you want to disable it. */
50// #define USB_DW_ARCH_SLAVE
51
48#endif /* __AS3525V2_H__ */ 52#endif /* __AS3525V2_H__ */