[U-Boot] [PATCH V2] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback
Marek Vasut
marex at denx.de
Thu Sep 10 01:20:33 CEST 2015
On Thursday, September 10, 2015 at 01:04:23 AM, Fabio Estevam wrote:
> On Thu, Aug 27, 2015 at 10:20 PM, Peng Fan <Peng.Fan at freescale.com> wrote:
> > Implement endpoint dequeue callback function.
> >
> > Without this function, uboot will hang when executing fastboot comamnd.
> > See following flow:
> > "fastboot_tx_write_str->fastboot_tx_write->usb_ep_dequeue->ep->ops->deque
> > ue" without implement ci_udc dequeue function, ep->ops->dequeue is NULL,
> > then uboot will hang.
> >
> > Tested on mx6qsabresd board with fastboot enabled.
>
> Managed to get fastboot working with this patch applied, thanks.
>
> $ fastboot getvar bootloader-version -i 0x0525
> bootloader-version: U-Boot 2015.10-rc2-23960-g2462cce-dirty
> finished. total time: 0.000s
>
> $ fastboot reboot -i 0x0525 --> board reboots fine.
>
> Tested-by: Fabio Estevam <fabio.estevam at freescale.com>
Applied, thanks!
Best regards,
Marek Vasut
More information about the U-Boot
mailing list