forked from len0rd/rockbox
Move USB_DEVBSS_ATTR & USB_NUM_ENDPOINTS to SoC-specific header.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20270 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
70ab3fca0d
commit
fa81289478
3 changed files with 4 additions and 10 deletions
|
|
@ -179,10 +179,5 @@
|
|||
#define USE_ROCKBOX_USB
|
||||
#define USB_VENDOR_ID 0x07C4
|
||||
#define USB_PRODUCT_ID 0xA4A5
|
||||
#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
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -164,10 +164,5 @@
|
|||
#define USE_ROCKBOX_USB
|
||||
#define USB_VENDOR_ID 0x07C4
|
||||
#define USB_PRODUCT_ID 0xA4A5
|
||||
#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
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -5149,4 +5149,8 @@ struct Ration2m
|
|||
|
||||
#endif /* _IPU_H_ */
|
||||
|
||||
/* Rockbox USB defines */
|
||||
#define USB_NUM_ENDPOINTS 3
|
||||
#define USB_DEVBSS_ATTR IBSS_ATTR
|
||||
|
||||
#endif /* __JZ4740_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue