aboutsummaryrefslogtreecommitdiff
path: root/libflash/ffs.h
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-10-11 15:23:44 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-11-09 22:11:44 -0600
commitb786e7ba1d34c5a4d8baa6304f4d930539cefac8 (patch)
tree97f072c5a41a7ffc9a3166f6c139a839c2cf7c21 /libflash/ffs.h
parent370b8866871b5c2cf3286afbf19fc90282cb3508 (diff)
downloadskiboot-b786e7ba1d34c5a4d8baa6304f4d930539cefac8.zip
skiboot-b786e7ba1d34c5a4d8baa6304f4d930539cefac8.tar.gz
skiboot-b786e7ba1d34c5a4d8baa6304f4d930539cefac8.tar.bz2
pflash: Support for volatile flag
The volatile flag was added to the pnor image to indicate partitions that are cleared during a host power off. Display this flag from the pflash command. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libflash/ffs.h')
-rw-r--r--libflash/ffs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libflash/ffs.h b/libflash/ffs.h
index 1872253..26cb9d8 100644
--- a/libflash/ffs.h
+++ b/libflash/ffs.h
@@ -76,6 +76,7 @@ enum ffs_type {
#define FFS_MISCFLAGS_READONLY 0x40
#define FFS_MISCFLAGS_BACKUP 0x20
#define FFS_MISCFLAGS_REPROVISION 0x10
+#define FFS_MISCFLAGS_VOLATILE 0x08
/**
* struct __ffs_entry_user - On flash user data entries