public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] dfu: Implementation of target reset after communication with dfu-util's -R switch
Date: Fri, 19 Jul 2013 06:30:09 +0200	[thread overview]
Message-ID: <51E8C0D1.8020100@denx.de> (raw)
In-Reply-To: <1374146354-2434-1-git-send-email-l.majewski@samsung.com>

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@samsung.com>
> Signed-off-by: Kyungmin Park<kyungmin.park@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@denx.de>

Thanks!

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

  reply	other threads:[~2013-07-19  4:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-18 11:19 [U-Boot] [PATCH] dfu: Implementation of target reset after communication with dfu-util's -R switch Lukasz Majewski
2013-07-19  4:30 ` Heiko Schocher [this message]
2013-07-24  3:37 ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E8C0D1.8020100@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox