diff options
author | Cyril Bur <cyril.bur@au1.ibm.com> | 2018-03-15 16:58:14 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-09 03:45:23 -0500 |
commit | 60b8ea49c8a6249820e586f92cf65b42c5514813 (patch) | |
tree | e30d0b3fa763e23872886aec7524a3e9771a2201 /libflash/ffs.h | |
parent | 267e65357c2e6d98cedebe55ec4cbca95af68f13 (diff) | |
download | skiboot-60b8ea49c8a6249820e586f92cf65b42c5514813.zip skiboot-60b8ea49c8a6249820e586f92cf65b42c5514813.tar.gz skiboot-60b8ea49c8a6249820e586f92cf65b42c5514813.tar.bz2 |
libffs: Standardise ffs partition flags
It seems we've developed a character respresentation for ffs partition
flags. Currently only pflash really prints them so it hasn't been a
problem but now ffspart wants to read them in from user input.
It is important that what libffs reads and what pflash prints remain
consistent, we should move the code into libffs to avoid problems.
Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'libflash/ffs.h')
-rw-r--r-- | libflash/ffs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libflash/ffs.h b/libflash/ffs.h index 433ecac..72ba257 100644 --- a/libflash/ffs.h +++ b/libflash/ffs.h @@ -78,6 +78,7 @@ enum ffs_type { #define FFS_MISCFLAGS_REPROVISION 0x10 #define FFS_MISCFLAGS_VOLATILE 0x08 #define FFS_MISCFLAGS_CLEARECC 0x04 +#define FFS_MISCFLAGS_GOLDEN 0x01 /** * struct __ffs_entry_user - On flash user data entries |