Host updater: implement GUARD factory reset

This commit extends the functionality of the host updater with a second
implementation of FactoryReset. This implementation is placed under the
/org/openpower/control/guard path and clears the PNOR GUARD partition.

Resolves openbmc/openbmc#2389

Change-Id: Id89aafe9211b48aee5238ff06b957fa7a99324ab
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2 files changed
tree: 2d5c02e3b6f1d620ab33c5388a4b3548f265f23f
  1. m4/
  2. org/
  3. test/
  4. .gitignore
  5. activation.cpp
  6. activation.hpp
  7. bootstrap.sh
  8. configure.ac
  9. generate-squashfs
  10. item_updater.cpp
  11. item_updater.hpp
  12. item_updater_main.cpp
  13. LICENSE
  14. Makefile.am
  15. README.md
  16. serialize.cpp
  17. serialize.hpp
  18. version.cpp
  19. version.hpp
  20. watch.cpp
  21. watch.hpp
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.