From e09a0857e8a31d29b77ee5d82e7db769403c11c0 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 2 Sep 2010 13:00:16 +0000 Subject: as3525v2: - change buffer alignement to 32 bytes (not sure if it's useful) - flush rx fifo on reset - use AS3525_PHYSICAL_ADDR for DMA - reset endpoints structure states on reset - force full speed for debugging purpose - add more debugging code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27986 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/as3525v2.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/as3525v2.h b/firmware/export/as3525v2.h index caae57e061..b983ad712a 100644 --- a/firmware/export/as3525v2.h +++ b/firmware/export/as3525v2.h @@ -38,7 +38,12 @@ #undef USB_NUM_ENDPOINTS #endif +#ifdef USB_DEVBSS_ATTR +#undef USB_DEVBSS_ATTR +#endif + #define USB_NUM_ENDPOINTS 6 +#define USB_DEVBSS_ATTR __attribute__((aligned(32))) #define CCU_USB (*(volatile unsigned long *)(CCU_BASE + 0x20)) -- cgit v1.2.3