aboutsummaryrefslogtreecommitdiff
path: root/include/thor.h
diff options
context:
space:
mode:
authorMarek Szyprowski2020-12-22 11:32:24 +0100
committerMarek Vasut2021-01-31 14:08:56 +0100
commite47431aa5cf0fe5e113ee9e33624084c93d4ec58 (patch)
treeb8af207745d73c237d1ca7b735d5bc8c7ebec406 /include/thor.h
parent9129f2f16488e95f8a71bb87937397aaf333bc1b (diff)
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>
Diffstat (limited to 'include/thor.h')
-rw-r--r--include/thor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/thor.h b/include/thor.h
index 62501bda17c..ee67ab0a270 100644
--- a/include/thor.h
+++ b/include/thor.h
@@ -12,6 +12,8 @@
#include <linux/usb/composite.h>
+#define THOR_DFU_REINIT_NEEDED 0xFFFFFFFE
+
int thor_handle(void);
int thor_init(void);
int thor_add(struct usb_configuration *c);