[U-Boot] [PATCH 2/2] udc: dfu: s3c_udc: Provide function to check if USB reset was asserted

Lukasz Majewski l.majewski at majess.pl
Fri Aug 22 21:57:53 CEST 2014


On Fri, 22 Aug 2014 12:06:49 -0600
Stephen Warren <swarren at wwwdotorg.org> wrote:

> 
> On 08/22/2014 08:08 AM, Lukasz Majewski wrote:
> > New dfu_usb_get_reset() method is necessary to distinct two
> > different use cases of dfu-util program.
> > This method checks if the USB bus reset has been really performed
> > after DFU DETACH.
> >
> > Without this function the previous DFU behavior is preserved.
> 
> Do you have HW that uses ci_udc, so you could implement/test this
> there too? If not, let me know and I'll see if I can.

Unfortunately I'm using s3c_hsotg UDC. The function which you need only
must return true if your's UDC has detected USB bus reset (enforced by
dfu-util with -R switch).

Best regards,
Lukasz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140822/31ecf0d1/attachment.pgp>


More information about the U-Boot mailing list