diff options
author | B, Ravi <ravibabu@ti.com> | 2017-05-04 15:45:29 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-12 08:37:09 -0400 |
commit | 66928afb6b55647a446560d32427a032e674301f (patch) | |
tree | e745c208e73ca2cdda117a6b62f14c41d83cc132 /common/dfu.c | |
parent | 1b19cbdbf7457629bfdf13d0995d7b0d1642c7fb (diff) | |
download | u-boot-66928afb6b55647a446560d32427a032e674301f.tar.gz u-boot-66928afb6b55647a446560d32427a032e674301f.tar.bz2 u-boot-66928afb6b55647a446560d32427a032e674301f.zip |
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>
Diffstat (limited to 'common/dfu.c')
-rw-r--r-- | common/dfu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/dfu.c b/common/dfu.c index 0e9f5f59c8..546a1ab9b4 100644 --- a/common/dfu.c +++ b/common/dfu.c @@ -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(); |