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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user