summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/export/as3525v2.h3
-rw-r--r--firmware/export/config.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/as3525v2.h b/firmware/export/as3525v2.h
index e0c13df757..c5c9c0504f 100644
--- a/firmware/export/as3525v2.h
+++ b/firmware/export/as3525v2.h
@@ -40,4 +40,7 @@
#define CCU_USB (*(volatile unsigned long *)(CCU_BASE + 0x20))
+#undef USB_DEVBSS_ATTR
+#define USB_DEVBSS_ATTR __attribute__((aligned(32)));
+
#endif /* __AS3525V2_H__ */
diff --git a/firmware/export/config.h b/firmware/export/config.h
index b81c684526..f54d004d7b 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -288,7 +288,7 @@ Lyre prototype 1 */
#define USBOTG_ARC 5020 /* PortalPlayer 502x */
#define USBOTG_JZ4740 4740 /* Ingenic Jz4740/Jz4732 */
#define USBOTG_AS3525 3525 /* AMS AS3525 */
-#define USBOTG_AS3525v2 3535 /* AMS AS3525v2 */
+#define USBOTG_AS3525v2 3535 /* AMS AS3525v2 FIXME : same than S3C6400X */
#define USBOTG_S3C6400X 6400 /* Samsung S3C6400X, also used in the S5L8701 */
/* Multiple cores */
@@ -928,7 +928,7 @@ Lyre prototype 1 */
#define USB_HAS_INTERRUPT
#elif defined(CPU_TCC780X) || defined(CPU_TCC77X)
#define USB_HAS_BULK
-#elif CONFIG_USBOTG == USBOTG_S3C6400X
+#elif CONFIG_USBOTG == USBOTG_S3C6400X || CONFIG_USBOTG == USBOTG_AS3525v2
#define USB_HAS_BULK
//#define USB_HAS_INTERRUPT -- seems to be broken
#endif /* CONFIG_USBOTG */