[U-Boot] [PATCH v4 2/2] usb: gadget: add Faraday FOTG210 USB gadget support

Marek Vasut marex at denx.de
Wed May 8 05:07:07 CEST 2013


Dear Kuo-Jung Su,

[...]

> > Uh, how's this supposed to work? Why don't you just use mdelay(250) with
> > those?
> 
> 1. The CFG_CMD_TIMEOUT is used for polling dma or ep0 fifo ready,
>     put a permanent delay (i.e. mdelay()) here would slow down the
>     overall performance.

Understood

> 2. The CFG_RST_TIMEOUT is used for polling chip reset or fifo reset.
>     It's definitely O.K to replace it with a permanent delay, so I'll
> do it later

Agreed,  nice to see we're getting real close with this patchset.

[...]

Best regards,
Marek Vasut


More information about the U-Boot mailing list