[U-Boot] [PATCH] dfu: Implementation of target reset after communication with dfu-util's -R switch

Marek Vasut marex at denx.de
Wed Jul 24 05:37:01 CEST 2013


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 <l.majewski at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
>  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


More information about the U-Boot mailing list