From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 24 Jul 2013 05:37:01 +0200 Subject: [U-Boot] [PATCH] dfu: Implementation of target reset after communication with dfu-util's -R switch In-Reply-To: <1374146354-2434-1-git-send-email-l.majewski@samsung.com> References: <1374146354-2434-1-git-send-email-l.majewski@samsung.com> Message-ID: <201307240537.01976.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Lukasz Majewski, > This patch extends dfu code to support transmission with -R switch > specified at dfu-util. > > When -R is specified, the extra USB_REQ_DFU_DETACH request is sent after > successful data transmission. Then dfu resources are released and reset > command is issued. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > --- > common/cmd_dfu.c | 14 +++++++++++++- > drivers/dfu/dfu.c | 11 +++++++++++ > drivers/usb/gadget/f_dfu.c | 2 ++ > include/dfu.h | 2 ++ > 4 files changed, 28 insertions(+), 1 deletion(-) > Applied, thanks Best regards, Marek Vasut