[Skiboot] [PATCH v2] ffspart: Support flashing already ECC protected images
Stewart Smith
stewart at linux.ibm.com
Thu Dec 13 10:20:39 AEDT 2018
Stewart Smith <stewart at linux.ibm.com> writes:
> We do this by assuming filenames with '.ecc' in them are already ECC
> protected.
>
> This solves a practical problem in transitioning op-build to use ffspart
> for pnor assembly rather than three perl scripts and a lot of XML.
>
> We also update the ffspart tests to take into account ECC requirements.
>
> Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
> ---
> Changes since v1:
> - make the test suite pass
> ---
> external/ffspart/ffspart.c | 16 ++++++++++++++--
> external/ffspart/test/files/04-tiny-pnor2.out | Bin 2560 -> 2560 bytes
> .../ffspart/test/results/07-big-files.err | 2 +-
> external/ffspart/test/tests/04-tiny-pnor2 | 2 +-
> external/ffspart/test/tests/08-small-files | 2 +-
> 5 files changed, 17 insertions(+), 5 deletions(-)
Merged to master as of f12bdee4d0b1409533a3c0dd12d867ad4acae8b7
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list