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)
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

index 30f764f..36462df 100644 (file)
@@ -35,6 +35,7 @@
 #include <samsung/misc.h>
 #include <linux/input.h>
 #include <usb.h>
+#include <thor.h>
 
 #include "f_thor.h"