From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Fri, 22 Aug 2014 21:57:53 +0200 Subject: [U-Boot] [PATCH 2/2] udc: dfu: s3c_udc: Provide function to check if USB reset was asserted In-Reply-To: <53F786B9.9020500@wwwdotorg.org> References: <1408716505-9013-1-git-send-email-l.majewski@samsung.com> <1408716505-9013-2-git-send-email-l.majewski@samsung.com> <53F786B9.9020500@wwwdotorg.org> Message-ID: <20140822215753.2a6ea2b8@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 22 Aug 2014 12:06:49 -0600 Stephen Warren 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: