thor: add support for the dfu_alt_info reintialization from the flashed script
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 22 Dec 2020 10:32:24 +0000 (11:32 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 31 Jan 2021 13:08:56 +0000 (14:08 +0100)
commite47431aa5cf0fe5e113ee9e33624084c93d4ec58
treeb8af207745d73c237d1ca7b735d5bc8c7ebec406
parent9129f2f16488e95f8a71bb87937397aaf333bc1b
thor: add support for the dfu_alt_info reintialization from the flashed 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>
cmd/thordown.c
drivers/usb/gadget/f_thor.c
include/thor.h