diff options
author | Cyril Bur <cyril.bur@au1.ibm.com> | 2018-03-15 16:58:25 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-09 03:45:23 -0500 |
commit | 9bd1bef2e583bde35912b1a8e013fa2f6d4eb096 (patch) | |
tree | e1e90379233d73f1e15febb72a1bd43d99674f17 /libflash/libffs.c | |
parent | 1622957255a66c026d9502219171b0f9e4996b4c (diff) | |
download | skiboot-9bd1bef2e583bde35912b1a8e013fa2f6d4eb096.zip skiboot-9bd1bef2e583bde35912b1a8e013fa2f6d4eb096.tar.gz skiboot-9bd1bef2e583bde35912b1a8e013fa2f6d4eb096.tar.bz2 |
external/ffspart: Use new interface
This also updated the pflash tests which use ffspart to generate pnors
Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'libflash/libffs.c')
-rw-r--r-- | libflash/libffs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libflash/libffs.c b/libflash/libffs.c index ceaf0fd..579494e 100644 --- a/libflash/libffs.c +++ b/libflash/libffs.c @@ -574,8 +574,11 @@ int ffs_entry_add(struct ffs_hdr *hdr, struct ffs_entry *entry) uint32_t smallest_base; int i; + FL_DBG("LIBFFS: Adding '%s' at 0x%08x..0x%08x\n", + entry->name, entry->base, entry->base + entry->size); + if (hdr->count == 0) { - FL_DBG("Adding an entry to an empty header\n"); + FL_DBG("LIBFFS: Adding an entry to an empty header\n"); hdr->entries[hdr->count++] = entry; } if (entry->base + entry->size > hdr->block_size * hdr->block_count) |