aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2015-02-20 11:37:52 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-23 13:35:48 +1100
commit8f22127ec50e6fa946f09af1e610b38555f11edd (patch)
tree33a1ed657a634a464471c59ba67d4df0a4d2a5df /external
parent323d0642bebb9b6365df7a98bfc77e9cd6be915f (diff)
downloadskiboot-8f22127ec50e6fa946f09af1e610b38555f11edd.zip
skiboot-8f22127ec50e6fa946f09af1e610b38555f11edd.tar.gz
skiboot-8f22127ec50e6fa946f09af1e610b38555f11edd.tar.bz2
libffs: Add ecc parameter on ffs_part_info()
Add ecc parmenter to ffs_part_info() to indicate if the partition is ECC protected or not. Fix all call sites. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/pflash/pflash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/pflash/pflash.c b/external/pflash/pflash.c
index 908a41d..fb783a2 100644
--- a/external/pflash/pflash.c
+++ b/external/pflash/pflash.c
@@ -101,7 +101,7 @@ static void print_flash_info(void)
uint32_t start, size, act, end;
char *name;
- rc = ffs_part_info(ffsh, i, &name, &start, &size, &act);
+ rc = ffs_part_info(ffsh, i, &name, &start, &size, &act, NULL);
if (rc == FFS_ERR_PART_NOT_FOUND)
break;
if (rc) {
@@ -723,7 +723,7 @@ int main(int argc, char *argv[])
int rc;
rc = ffs_part_info(ffsh, ffs_index, NULL,
- &pstart, &pmaxsz, &pactsize);
+ &pstart, &pmaxsz, &pactsize, NULL);
if (rc) {
fprintf(stderr,"Failed to get partition info\n");
exit(1);