summaryrefslogtreecommitdiff
path: root/include/dfu.h
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2020-12-22 11:32:21 +0100
committerMarek Vasut <marex@denx.de>2021-01-31 14:08:56 +0100
commitb5f3405b9d8666bd0ab627c298cea1c927da081a (patch)
treea9601b12649f1d52eead24385a2688a7c492291c /include/dfu.h
parentf21358ad6cb5d39fff432fa0af0c4fd24288b2b7 (diff)
downloadu-boot-b5f3405b9d8666bd0ab627c298cea1c927da081a.tar.gz
u-boot-b5f3405b9d8666bd0ab627c298cea1c927da081a.tar.bz2
u-boot-b5f3405b9d8666bd0ab627c298cea1c927da081a.zip
dfu: add 'SKIP' entity
Define a new 'SKIP' type for the DFU entities. The flashed data for that entity is simply ignored without returning any error values. This allows to have one flashing procedure and images for the different board types or variants, where each board uses only the images relevant to it and skips the rest. This is especially usefull for the THOR protocol, which usually transfers more than one file in a single session. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com> [mszyprow: rephrased commit message and docs for easier reading, changed subject to "dfu: add 'SKIP' entity"] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'include/dfu.h')
-rw-r--r--include/dfu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dfu.h b/include/dfu.h
index a767adee41..0b1dae0b3b 100644
--- a/include/dfu.h
+++ b/include/dfu.h
@@ -33,6 +33,7 @@ enum dfu_layout {
DFU_FS_EXT3,
DFU_FS_EXT4,
DFU_RAM_ADDR,
+ DFU_SKIP,
};
enum dfu_op {