1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

common: dfu: ignore reset for spl-dfu

The SPL-DFU feature enable to load and
execute u-boot from RAM over usb from
PC using dfu-util.
Hence dfu-reset should not be issued
when dfu-util -R switch is issued.

Signed-off-by: Ravi Babu <ravibabu@ti.com>
This commit is contained in:
B, Ravi
2017-05-04 15:45:29 +05:30
committed by Tom Rini
parent 1b19cbdbf7
commit 66928afb6b
3 changed files with 9 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ exit:
board_usb_cleanup(usbctrl_index, USB_INIT_DEVICE);
if (dfu_reset)
run_command("reset", 0);
do_reset(NULL, 0, 0, NULL);
g_dnl_clear_detach();