summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-09-02 13:00:16 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-09-02 13:00:16 +0000
commite09a0857e8a31d29b77ee5d82e7db769403c11c0 (patch)
tree3bd83b33513912b969b7ab623dbe0224bdb733a2 /firmware/export
parenta92d3169724cef786d3fda92de8858c6128990f8 (diff)
downloadrockbox-e09a0857e8a31d29b77ee5d82e7db769403c11c0.tar.gz
rockbox-e09a0857e8a31d29b77ee5d82e7db769403c11c0.zip
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
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/as3525v2.h5
1 files changed, 5 insertions, 0 deletions
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 @@
38#undef USB_NUM_ENDPOINTS 38#undef USB_NUM_ENDPOINTS
39#endif 39#endif
40 40
41#ifdef USB_DEVBSS_ATTR
42#undef USB_DEVBSS_ATTR
43#endif
44
41#define USB_NUM_ENDPOINTS 6 45#define USB_NUM_ENDPOINTS 6
46#define USB_DEVBSS_ATTR __attribute__((aligned(32)))
42 47
43#define CCU_USB (*(volatile unsigned long *)(CCU_BASE + 0x20)) 48#define CCU_USB (*(volatile unsigned long *)(CCU_BASE + 0x20))
44 49