]> git.baikalelectronics.ru Git - uboot.git/commit
dfu: add support for the dfu_alt_info reintialization from the flashed script
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 22 Dec 2020 10:32:23 +0000 (11:32 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 31 Jan 2021 13:08:56 +0000 (14:08 +0100)
commit309686d7c5d9b1933099cf7643a010a64d0719af
tree418451b37dd45ec8b6878d7a6f18b8170301e1cc
parent1b015f7c8a7cccb0e84ae92d981058c7d1273266
dfu: add support for the dfu_alt_info reintialization from the flashed script

Reinitialize DFU USB gadget after flashing the 'SCRIPT' entity to ensure
that the potential changes to the 'dfu_alt_info' environment variable are
applied.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
[lukma - I've moved the bool retry to avoid build (CI) errors]
cmd/dfu.c
common/dfu.c