dfu: add support for dfu_alt_info reintialization from the flashed script 42/248842/2
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 2 Dec 2020 12:56:19 +0000 (13:56 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 3 Dec 2020 16:53:18 +0000 (17:53 +0100)
commit810655c9a6f4120dd5c3be4503bbd541ddff968d
tree72d92af3547c039b5968680f08d1e5846f11e0b0
parent0f80f631103025e9b4c074be94295667e7cf5cd7
dfu: add support for 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>
Change-Id: Ia5025c765c83defc96da17b8c059dff833ec257b
cmd/dfu.c
common/dfu.c