diff options
| author | Amaury Pouly <pamaury@rockbox.org> | 2010-09-02 13:00:16 +0000 |
|---|---|---|
| committer | Amaury Pouly <pamaury@rockbox.org> | 2010-09-02 13:00:16 +0000 |
| commit | e09a0857e8a31d29b77ee5d82e7db769403c11c0 (patch) | |
| tree | 3bd83b33513912b969b7ab623dbe0224bdb733a2 /firmware/export | |
| parent | a92d3169724cef786d3fda92de8858c6128990f8 (diff) | |
| download | rockbox-e09a0857e8a31d29b77ee5d82e7db769403c11c0.zip rockbox-e09a0857e8a31d29b77ee5d82e7db769403c11c0.tar.gz rockbox-e09a0857e8a31d29b77ee5d82e7db769403c11c0.tar.bz2 rockbox-e09a0857e8a31d29b77ee5d82e7db769403c11c0.tar.xz | |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/as3525v2.h b/firmware/export/as3525v2.h index caae57e..b983ad7 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)) |