From 9503e6ede3e22747c911ff1dac14007b9eb3269a Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Wed, 8 Sep 2010 01:03:11 +0000 Subject: as3525v2 usb: define USB_HAS_BULK Ask for alignement of USB buffers on cache line Also remind that the hardware is identical to the hardware in nano2g git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28033 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/as3525v2.h | 3 +++ firmware/export/config.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'firmware') 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 */ -- cgit v1.2.3