[Skiboot] [PATCH v2] pflash: Support for clean_on_ecc_error flag

Stewart Smith stewart at linux.vnet.ibm.com
Thu Dec 14 15:49:47 AEDT 2017


Adriana Kobylak <anoo at linux.vnet.ibm.com> writes:
> Add the misc flag clear_on_ecc_error to libflash/pflash. This was
> the only missing flag. The generator of the virtual pnor image
> relies on libflash/pflash to provide the partition information,
> so all flags are needed to build an accurate virtual pnor partition
> table.
>
> Signed-off-by: Adriana Kobylak <anoo at linux.vnet.ibm.com>
> ---
>  external/ffspart/ffspart.c                    |  3 +++
>  external/pflash/pflash.c                      | 16 +++++++++-------
>  external/pflash/test/files/01-info.ffs        |  1 +
>  external/pflash/test/files/06-miscprint.ffs   |  1 +
>  external/pflash/test/results/01-info.out      | 17 +++++++++--------
>  external/pflash/test/results/06-miscprint.out |  9 +++++++++
>  external/pflash/test/tests/06-miscprint       |  4 ++++
>  libflash/ffs.h                                |  1 +
>  libflash/libffs.c                             |  3 +--
>  libflash/libffs.h                             |  1 +
>  10 files changed, 39 insertions(+), 17 deletions(-)

THanks!

Merged to master as of 0bd6a8c9a4bcefe3c687c5aabfa5cae7234c376c

Be careful - with your rate of patches to pflash and the like you may
end up becoming maintainer of a bunch of it :)

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list