[U-Boot] [PATCH 1/2] dfu: Provide means to find difference between dfu-util -e and -R

Stephen Warren swarren at wwwdotorg.org
Fri Aug 22 20:06:03 CEST 2014


On 08/22/2014 08:08 AM, Lukasz Majewski wrote:
> This commit provides distinction between DFU device detach and reset.
> The -R behavior is preserved with proper handling of the dfu-util's -e
> switch, which detach the DFU device.
>
> By running dfu-util -e; one can force device to finish the execution of
> dfu command on target and execute some other scripted commands.

This sounds extremely useful; I wonder if UMS could have the same feature?

> diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c

> +static bool dfu_reset;

Can't this be a local variable inside the do_dfu() function?

Aside from that,
Reviewed-by: Stephen Warren <swarren at nvidia.com>


More information about the U-Boot mailing list