summaryrefslogtreecommitdiff
path: root/host/lib/include/fmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/fmap.h')
-rw-r--r--host/lib/include/fmap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/include/fmap.h b/host/lib/include/fmap.h
index d6c33c65..02f97c2d 100644
--- a/host/lib/include/fmap.h
+++ b/host/lib/include/fmap.h
@@ -27,6 +27,14 @@ typedef struct _FmapHeader {
uint16_t fmap_nareas;
} __attribute__((packed)) FmapHeader;
+enum fmap_flags {
+ FMAP_AREA_STATIC = 1 << 0,
+ FMAP_AREA_COMPRESSED = 1 << 1,
+ FMAP_AREA_RO = 1 << 2,
+ /* Should be preserved on update or rollback. */
+ FMAP_AREA_PRESERVE = 1 << 3,
+};
+
typedef struct _FmapAreaHeader {
uint32_t area_offset;
uint32_t area_size;