]> git.dujemihanovic.xyz Git - u-boot.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)
commit9129f2f16488e95f8a71bb87937397aaf333bc1b
tree418451b37dd45ec8b6878d7a6f18b8170301e1cc
parentc533f94c102127b94abda206dbe41fe026bcde76
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