diff options
author | Marek Szyprowski | 2020-12-22 11:32:24 +0100 |
---|---|---|
committer | Marek Vasut | 2021-01-31 14:08:56 +0100 |
commit | e47431aa5cf0fe5e113ee9e33624084c93d4ec58 (patch) | |
tree | b8af207745d73c237d1ca7b735d5bc8c7ebec406 /include/thor.h | |
parent | 9129f2f16488e95f8a71bb87937397aaf333bc1b (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.h | 2 |
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); |