summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-01-09 16:01:59 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-17 11:04:44 +0100
commit1930c3d11d7126d511b06b1131cea8d42218d820 (patch)
treea472369736a7a2d7279d2333e53ca5c9d40c66be /include
parentc5ebb4d5b4a8612c8c16ae4545e2ffa4aeb6c7b1 (diff)
downloadbarebox-1930c3d11d7126d511b06b1131cea8d42218d820.tar.gz
barebox-1930c3d11d7126d511b06b1131cea8d42218d820.tar.xz
file_list: Add ubi flag
This flag is added to better support flashing UBI image with Android sparse images. Android fastboot splits images which are bigger than the free memory into multiple images which are then transferred in multiple fastboot sessions. In a session which is not the first one we can no longer detect if an image is a UBI image or not, so we need a flag to make this explicit. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/file-list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/file-list.h b/include/file-list.h
index 1e02539d4d..404d8d64bb 100644
--- a/include/file-list.h
+++ b/include/file-list.h
@@ -4,6 +4,7 @@
#define FILE_LIST_FLAG_SAFE (1 << 0)
#define FILE_LIST_FLAG_READBACK (1 << 1)
#define FILE_LIST_FLAG_CREATE (1 << 2)
+#define FILE_LIST_FLAG_UBI (1 << 3)
struct file_list_entry {
char *name;