diff options
| -rw-r--r-- | firmware/export/config-ondavx747.h | 5 | ||||
| -rw-r--r-- | firmware/export/config-ondavx767.h | 5 | ||||
| -rw-r--r-- | firmware/export/jz4740.h | 4 |
3 files changed, 4 insertions, 10 deletions
diff --git a/firmware/export/config-ondavx747.h b/firmware/export/config-ondavx747.h index 1849064..ecc7994 100644 --- a/firmware/export/config-ondavx747.h +++ b/firmware/export/config-ondavx747.h @@ -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 diff --git a/firmware/export/config-ondavx767.h b/firmware/export/config-ondavx767.h index a0500a7..76a4787 100644 --- a/firmware/export/config-ondavx767.h +++ b/firmware/export/config-ondavx767.h @@ -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 diff --git a/firmware/export/jz4740.h b/firmware/export/jz4740.h index e4df112..cacdd1e 100644 --- a/firmware/export/jz4740.h +++ b/firmware/export/jz4740.h @@ -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__ */ |