diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-19 14:06:47 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-19 14:06:47 +0000 |
commit | 47509fafa4309be802e4ebd0d9cb8fb4540e68b9 (patch) | |
tree | 6b94fe555e94c77881905da8d5771148f18aa91a /firmware/export | |
parent | 616c98b38f6ddac0ac3dde8ec0fa248f835717e2 (diff) |
Fix up ZVM builds. It appeared to share common definitions with PP502x targets so use those. Remove one stale comment left behind in last commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19798 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/dm320.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h index 4d6b9ac08b..0e1623365a 100644 --- a/firmware/export/dm320.h +++ b/firmware/export/dm320.h @@ -43,6 +43,14 @@ #define PHY_IO_BASE2 0x00060000 #define DM320_REG2(addr) (*(volatile unsigned int *)(PHY_IO_BASE2 + (addr))) +/* USBOTG */ +#define USB_NUM_ENDPOINTS 3 +/* This needs to be 2048 byte aligned, but USB_QHARRAY_ATTR should take care + * of that */ +#define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(4))) +#define USB_DEVBSS_ATTR IBSS_ATTR + + /* Timer 0-3 */ #define IO_TIMER0_TMMD DM320_REG(0x0000) #define IO_TIMER0_TMRSV0 DM320_REG(0x0002) |