diff options
author | Cyril Bur <cyril.bur@au1.ibm.com> | 2018-03-15 16:58:20 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-09 03:45:23 -0500 |
commit | 14ed1a2d7611503f8ddcf2b5e003c98b9a57f360 (patch) | |
tree | 163b4c349595310e5bc2a9e39a5018c6cff005f5 /libflash/ffs.h | |
parent | 0673f6282422e5cb26f79c986228c863b1ec8a36 (diff) | |
download | skiboot-14ed1a2d7611503f8ddcf2b5e003c98b9a57f360.zip skiboot-14ed1a2d7611503f8ddcf2b5e003c98b9a57f360.tar.gz skiboot-14ed1a2d7611503f8ddcf2b5e003c98b9a57f360.tar.bz2 |
libflash/libffs: Remove the 'sides' from the FFS 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 72ba257..8fc5580 100644 --- a/libflash/ffs.h +++ b/libflash/ffs.h @@ -207,7 +207,6 @@ struct __ffs_hdr { * @block_size: Size of block on device (in bytes) * @block_count: Number of blocks on device. * @backup The backup partition - * @side The ffs header for the other side * @entries: List of partition entries */ struct ffs_hdr { @@ -218,7 +217,6 @@ struct ffs_hdr { uint32_t block_count; struct ffs_entry *part; struct ffs_entry *backup; - struct ffs_hdr *side; struct list_head entries; }; |