diff options
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/usb-x1000.c')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/usb-x1000.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/firmware/target/mips/ingenic_x1000/usb-x1000.c b/firmware/target/mips/ingenic_x1000/usb-x1000.c index 1a31d8db2e..398528c6c4 100644 --- a/firmware/target/mips/ingenic_x1000/usb-x1000.c +++ b/firmware/target/mips/ingenic_x1000/usb-x1000.c | |||
@@ -35,10 +35,13 @@ | |||
35 | const struct usb_dw_config usb_dw_config = { | 35 | const struct usb_dw_config usb_dw_config = { |
36 | .phytype = DWC_PHYTYPE_UTMI_16, | 36 | .phytype = DWC_PHYTYPE_UTMI_16, |
37 | 37 | ||
38 | /* Available FIFO memory: 3576 words */ | 38 | /* Available FIFO memory: 3576 words |
39 | .rx_fifosz = 1024, | 39 | * Number of endpoints: 9 |
40 | .nptx_fifosz = 128, /* 1 dedicated FIFO for EP0 */ | 40 | * Max packet size: 512 bytes |
41 | .ptx_fifosz = 768, /* 3 dedicated FIFOs */ | 41 | */ |
42 | .rx_fifosz = 816, /* shared RxFIFO */ | ||
43 | .nptx_fifosz = 32, /* only used for EP0 IN */ | ||
44 | .ptx_fifosz = 384, /* room for 7 IN EPs */ | ||
42 | 45 | ||
43 | #ifndef USB_DW_ARCH_SLAVE | 46 | #ifndef USB_DW_ARCH_SLAVE |
44 | .ahb_burst_len = HBSTLEN_INCR16, | 47 | .ahb_burst_len = HBSTLEN_INCR16, |