diff options
author | Cyril Bur <cyril.bur@au1.ibm.com> | 2018-03-15 16:58:21 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-09 03:45:23 -0500 |
commit | 0744faa83a1b2f5b3142414a88da84317e033c94 (patch) | |
tree | 7c51792b762a8ead91de05e88da6128971cf9575 /libflash/ffs.h | |
parent | 14ed1a2d7611503f8ddcf2b5e003c98b9a57f360 (diff) | |
download | skiboot-0744faa83a1b2f5b3142414a88da84317e033c94.zip skiboot-0744faa83a1b2f5b3142414a88da84317e033c94.tar.gz skiboot-0744faa83a1b2f5b3142414a88da84317e033c94.tar.bz2 |
libflash/libffs: Remove backup partition from TOC generation code
It turns out this code was messy and not all that reliable. Doing it at
the library level adds complexity to the library and restrictions to the
caller.
A simpler approach can be achived with the just instantiating multiple
ffs_header structures pointing to different parts of the same file.
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 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libflash/ffs.h b/libflash/ffs.h index 8fc5580..dbbaa09 100644 --- a/libflash/ffs.h +++ b/libflash/ffs.h @@ -206,7 +206,6 @@ struct __ffs_hdr { * @size: Size of partition table (in bytes) * @block_size: Size of block on device (in bytes) * @block_count: Number of blocks on device. - * @backup The backup partition * @entries: List of partition entries */ struct ffs_hdr { @@ -216,7 +215,6 @@ struct ffs_hdr { uint32_t block_size; uint32_t block_count; struct ffs_entry *part; - struct ffs_entry *backup; struct list_head entries; }; |