[U-Boot] [PATCH V2] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback

Fabio Estevam festevam at gmail.com
Thu Sep 10 01:04:23 CEST 2015


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->dequeue"
> 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>


More information about the U-Boot mailing list