thor: add support for dfu_alt_info reintialization from the downloaded script
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 27 Nov 2020 15:10:34 +0000 (16:10 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 14:18:27 +0000 (15:18 +0100)
commit5f9a33b2bb54e94bb1ea947139131dca620f61b2
treefa2a61928161c2372b4848aec722da3575d40044
parent73182eb1af6aa76f732b67daa800fcab8b09e42f
thor: add support for dfu_alt_info reintialization from the downloaded script

Reinitialize dfu_env_entities 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>
Change-Id: Iad98f348d25ee37fbb7493d4e567d1a4de55dc2c
drivers/usb/gadget/f_thor.c