aboutsummaryrefslogtreecommitdiff
path: root/libflash/libffs.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/libffs.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/libffs.h')
-rw-r--r--libflash/libffs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libflash/libffs.h b/libflash/libffs.h
index a0f65a0..0610399 100644
--- a/libflash/libffs.h
+++ b/libflash/libffs.h
@@ -88,6 +88,7 @@ struct ffs_entry_user {
#define FFS_MISCFLAGS_READONLY 0x40
#define FFS_MISCFLAGS_BACKUP 0x20
#define FFS_MISCFLAGS_REPROVISION 0x10
+#define FFS_MISCFLAGS_VOLATILE 0x08
bool has_ecc(struct ffs_entry *ent);