summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h4
-rw-r--r--firmware/export/rk27xx.h5
2 files changed, 6 insertions, 3 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 7252d62c5e..c252b44f4e 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -834,7 +834,6 @@ Lyre prototype 1 */
834#define USB_STATUS_BY_EVENT 834#define USB_STATUS_BY_EVENT
835#define USB_DETECT_BY_REQUEST 835#define USB_DETECT_BY_REQUEST
836#elif CONFIG_USBOTG == USBOTG_RK27XX 836#elif CONFIG_USBOTG == USBOTG_RK27XX
837#define USB_STATUS_BY_EVENT
838#define USB_DETECT_BY_REQUEST 837#define USB_DETECT_BY_REQUEST
839#endif /* CONFIG_USB == */ 838#endif /* CONFIG_USB == */
840#endif /* HAVE_USBSTACK */ 839#endif /* HAVE_USBSTACK */
@@ -1069,7 +1068,8 @@ Lyre prototype 1 */
1069#elif (CONFIG_USBOTG == USBOTG_ARC) || \ 1068#elif (CONFIG_USBOTG == USBOTG_ARC) || \
1070 (CONFIG_USBOTG == USBOTG_JZ4740) || \ 1069 (CONFIG_USBOTG == USBOTG_JZ4740) || \
1071 (CONFIG_USBOTG == USBOTG_M66591) || \ 1070 (CONFIG_USBOTG == USBOTG_M66591) || \
1072 (CONFIG_USBOTG == USBOTG_AS3525) 1071 (CONFIG_USBOTG == USBOTG_AS3525) || \
1072 (CONFIG_USBOTG == USBOTG_RK27XX)
1073#define USB_HAS_BULK 1073#define USB_HAS_BULK
1074#define USB_HAS_INTERRUPT 1074#define USB_HAS_INTERRUPT
1075#elif defined(CPU_TCC780X) || defined(CPU_TCC77X) 1075#elif defined(CPU_TCC780X) || defined(CPU_TCC77X)
diff --git a/firmware/export/rk27xx.h b/firmware/export/rk27xx.h
index 58b3fe8166..dc6bca7cbd 100644
--- a/firmware/export/rk27xx.h
+++ b/firmware/export/rk27xx.h
@@ -8,7 +8,8 @@
8#define FLASH_BANK1 0x11000000 8#define FLASH_BANK1 0x11000000
9 9
10#define USB_NUM_ENDPOINTS 16 10#define USB_NUM_ENDPOINTS 16
11#define USB_DEVBSS_ATTR 11/* cache aligned */
12#define USB_DEVBSS_ATTR __attribute__((aligned(CACHEALIGN_SIZE)))
12 13
13/* Timers */ 14/* Timers */
14#define APB0_TIMER (ARM_BUS0_BASE + 0x00000000) 15#define APB0_TIMER (ARM_BUS0_BASE + 0x00000000)
@@ -811,6 +812,7 @@
811#define RXVOIDINTEN (1<<5) 812#define RXVOIDINTEN (1<<5)
812#define RXERRINTEN (1<<6) 813#define RXERRINTEN (1<<6)
813#define RXACKINTEN (1<<7) 814#define RXACKINTEN (1<<7)
815#define RXCFINTE (1<<12)
814/* bits 31:8 reserved for EP0 */ 816/* bits 31:8 reserved for EP0 */
815/* bits 31:14 reserved for others */ 817/* bits 31:14 reserved for others */
816 818
@@ -833,6 +835,7 @@
833#define TXERRINTEN (1<<5) 835#define TXERRINTEN (1<<5)
834#define TXACKINTEN (1<<6) 836#define TXACKINTEN (1<<6)
835#define TXDMADNEN (1<<7) /* reserved for EP0 */ 837#define TXDMADNEN (1<<7) /* reserved for EP0 */
838#define TXCFINTE (1<<12)
836/* bits 31:8 reserved */ 839/* bits 31:8 reserved */
837 840
838/* TXnBUF bits */ 841/* TXnBUF bits */