commit | b1fa1ad13f01c835d513ba83536155e0e57b47df | [log] [tgz] |
---|---|---|
author | Marek Szyprowski <m.szyprowski@samsung.com> | Tue Dec 22 11:32:22 2020 +0100 |
committer | Marek Vasut <marex@denx.de> | Sun Jan 31 14:08:56 2021 +0100 |
tree | 6e428d7a3dba6ba5e9da1e532952b5e76f6c35dc | |
parent | d7cbe12fe311da35829e0bf5f182a468bbe347d3 [diff] |
dfu: add 'SCRIPT' entity Define a new 'SCRIPT' type for DFU entities. The downloaded data are treated as simple u-boot's scripts and executed with run_command_list() function. Flashing the 'SCRIPT' entity might result in changing the 'dfu_alt_info' environment variable from the flashed script, so add a global variable for tracking the potential need to reinitialize the dfu_alt_info related structures. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>