aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorCyril Bur <cyril.bur@au1.ibm.com>2018-03-15 16:58:20 +1100
committerStewart Smith <stewart@linux.ibm.com>2018-04-09 03:45:23 -0500
commit14ed1a2d7611503f8ddcf2b5e003c98b9a57f360 (patch)
tree163b4c349595310e5bc2a9e39a5018c6cff005f5 /external
parent0673f6282422e5cb26f79c986228c863b1ec8a36 (diff)
downloadskiboot-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 'external')
-rw-r--r--external/ffspart/ffspart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/ffspart/ffspart.c b/external/ffspart/ffspart.c
index f8ea8d6..04de6b6 100644
--- a/external/ffspart/ffspart.c
+++ b/external/ffspart/ffspart.c
@@ -279,7 +279,7 @@ int main(int argc, char *argv[])
goto out_while;
}
- rc = ffs_entry_add(new_hdr, new_entry, 0);
+ rc = ffs_entry_add(new_hdr, new_entry);
if (rc) {
fprintf(stderr, "Couldn't add entry '%s' 0x%08x for 0x%08x\n",
name, pbase, psize);