Re: [U-Boot] [u-boot 32/40] usb: dwc3: Add chained TRB support for ep0

2015-02-16 Thread Kishon Vijay Abraham I
Hi, On Monday 16 February 2015 06:34 PM, Lukasz Majewski wrote: Hi Kishon, Hi Lukasz, On Monday 16 February 2015 05:12 PM, Lukasz Majewski wrote: Hi Kishon, dwc3 can do only max packet aligned transfers. So in case request length is not max packet aligned and is bigger than

Re: [U-Boot] [u-boot 32/40] usb: dwc3: Add chained TRB support for ep0

2015-02-16 Thread Lukasz Majewski
Hi Kishon, Hi Lukasz, On Monday 16 February 2015 05:12 PM, Lukasz Majewski wrote: Hi Kishon, dwc3 can do only max packet aligned transfers. So in case request length is not max packet aligned and is bigger than DWC3_EP0_BOUNCE_SIZE two chained TRBs is required to handle the

Re: [U-Boot] [u-boot 32/40] usb: dwc3: Add chained TRB support for ep0

2015-02-16 Thread Lukasz Majewski
Hi Kishon, dwc3 can do only max packet aligned transfers. So in case request length is not max packet aligned and is bigger than DWC3_EP0_BOUNCE_SIZE two chained TRBs is required to handle the transfer. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/ep0.c|

Re: [U-Boot] [u-boot 32/40] usb: dwc3: Add chained TRB support for ep0

2015-02-16 Thread Kishon Vijay Abraham I
Hi Lukasz, On Monday 16 February 2015 05:12 PM, Lukasz Majewski wrote: Hi Kishon, dwc3 can do only max packet aligned transfers. So in case request length is not max packet aligned and is bigger than DWC3_EP0_BOUNCE_SIZE two chained TRBs is required to handle the transfer. Signed-off-by:

[U-Boot] [u-boot 32/40] usb: dwc3: Add chained TRB support for ep0

2015-02-06 Thread Kishon Vijay Abraham I
dwc3 can do only max packet aligned transfers. So in case request length is not max packet aligned and is bigger than DWC3_EP0_BOUNCE_SIZE two chained TRBs is required to handle the transfer. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/ep0.c| 72