From 6a1644c52ac8af4696356db04894245f5a0e3dc3 Mon Sep 17 00:00:00 2001 From: Cástor Muñoz Date: Sun, 31 Jul 2016 03:52:22 +0200 Subject: as3525v2: use the new USB DesignWare driver Targets: sansaclipplus, samsaclipv2, sansaclipzip, sansafuzev2. Change-Id: I7773528a4e26707dd33fe9cb8948750d49570701 --- firmware/export/as3525v2.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'firmware/export/as3525v2.h') 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 @@ #define CGU_SDSLOT (*(volatile unsigned long *)(CGU_BASE + 0x3C)) #undef USB_NUM_ENDPOINTS - +/* 7 available EPs (0b00000000010101010000000000101011), 6 used */ #define USB_NUM_ENDPOINTS 6 #define CCU_USB (*(volatile unsigned long *)(CCU_BASE + 0x20)) @@ -45,4 +45,8 @@ #undef USB_DEVBSS_ATTR #define USB_DEVBSS_ATTR __attribute__((aligned(32))) +/* Define this if the DWC implemented on this SoC does not support + DMA or you want to disable it. */ +// #define USB_DW_ARCH_SLAVE + #endif /* __AS3525V2_H__ */ -- cgit v1.2.3