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

Heiko Schocher hs at denx.de
Fri Jul 19 06:30:09 CEST 2013


Hello Lukasz,

Am 18.07.2013 13:19, schrieb 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(-)

Tested on AM335x based boards, so:

Tested-by: Heiko Schocher <hs at denx.de>

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list