thor: add support for dfu_alt_info reintialization from the downloaded script 43/248843/2
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 27 Nov 2020 15:10:34 +0000 (16:10 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 3 Dec 2020 16:53:18 +0000 (17:53 +0100)
commite7487bba0aed4a23994d357833bfbe039076dffe
tree85a537c6baa3fe37d1126c1938eb2fcf86c5a12e
parent810655c9a6f4120dd5c3be4503bbd541ddff968d
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
cmd/thordown.c
drivers/usb/gadget/f_thor.c
include/thor.h