
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@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@freescale.com
Applied, thanks!
Best regards, Marek Vasut