summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/file-list.c3
-rw-r--r--include/file-list.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/common/file-list.c b/common/file-list.c
index 8d61b76cbb..eb469cf9be 100644
--- a/common/file-list.c
+++ b/common/file-list.c
@@ -92,6 +92,9 @@ static int file_list_parse_one(struct file_list *files, const char *partstr, con
case 'c':
flags |= FILE_LIST_FLAG_CREATE;
break;
+ case 'u':
+ flags |= FILE_LIST_FLAG_UBI;
+ break;
default:
pr_err("Unknown flag '%c'\n", *partstr);
return -EINVAL;
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;