warm-reboot: add cfam-reset capabilities

A cfam-reset is required when doing a warm reboot of a POWER based
processor.

This commit has dependencies on two other commits:

libgpiod dependency in the op-proc-control recipe:
https://gerrit.openbmc-project.xyz/c/openbmc/meta-openpower/+/29076

witherspoon device tree update to name cfam-reset gpio:
https://lists.ozlabs.org/pipermail/openbmc/2020-February/020425.html

Other systems which require this support will also need to have their
dts updated. This will happen as support is needed for warm reboot on
them.

Tested:
Built witherspoon image and verified new procedure runs without failure
within QEMU.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I79b13e487dc4d8e1d08aa2444325c49c101cf6b0
2 files changed
tree: 5516db9c3a2e15bd3e460e96e53685e697702635
  1. procedures/
  2. test/
  3. .clang-format
  4. .gitignore
  5. bootstrap.sh
  6. cfam_access.cpp
  7. cfam_access.hpp
  8. configure.ac
  9. ext_interface.cpp
  10. ext_interface.hpp
  11. filedescriptor.cpp
  12. filedescriptor.hpp
  13. gen_makefile.sh
  14. LICENSE
  15. MAINTAINERS
  16. Makefile.am
  17. Makefile.generated.in
  18. nmi_interface.cpp
  19. nmi_interface.hpp
  20. nmi_main.cpp
  21. op-stop-instructions@.service.in
  22. p10_cfam.hpp
  23. p9_cfam.hpp
  24. pcie-poweroff@.service.in
  25. proc_control.cpp
  26. README.md
  27. registration.cpp
  28. registration.hpp
  29. set-spi-mux.service.in
  30. targeting.cpp
  31. targeting.hpp
  32. xyz.openbmc_project.Control.Host.NMI.service.in
README.md

Contains procedures that interact with the OpenPower nest chipset.

To Build

To build this package, do the following steps:

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

To build with phal feature:
    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS} --enable-phal --enable-openfsi
    3. make

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