cfam-reset: ensure run on all boots

Currently the cfam-reset is run within the power_control application and
it is also run as a standalone service for warm reboots. Going forward
the direction is to move the cfam reset out of the power domain. The
op-cfam-reset service will be run in all scenarios where it is required
and the power application will no longer perform it.

For a period of time there will be overlap where both this service and
the power application will be doing the cfam reset. This does not hurt
anything and will make the transition easier due to no requisites.

This service will be run in both the obmc-chassis-poweron and
obmc-host-startmin targets. This is so support is there for FSI
operations with just a "obmcutil chassison" as well as supporting the
warm reboot path where a chassison is not executed. The service will
only run once during a normal boot due to the way the service is
configured.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ic24b10c4f6d15bff0c85caa944517175089500d9
1 file changed
tree: 73b7c1fde2661d2b12fd7e5070c701f50d463562
  1. phalerror/
  2. procedures/
  3. test/
  4. .clang-format
  5. .gitignore
  6. bootstrap.sh
  7. cfam_access.cpp
  8. cfam_access.hpp
  9. configure.ac
  10. ext_interface.cpp
  11. ext_interface.hpp
  12. filedescriptor.cpp
  13. filedescriptor.hpp
  14. gen_makefile.sh
  15. LICENSE
  16. MAINTAINERS
  17. Makefile.am
  18. Makefile.generated.in
  19. nmi_interface.cpp
  20. nmi_interface.hpp
  21. nmi_main.cpp
  22. op-cfam-reset.service.in
  23. op-continue-mpreboot@.service.in
  24. op-enter-mpreboot@.service.in
  25. op-stop-instructions@.service.in
  26. p10_cfam.hpp
  27. p9_cfam.hpp
  28. pcie-poweroff@.service.in
  29. proc_control.cpp
  30. README.md
  31. registration.cpp
  32. registration.hpp
  33. set-spi-mux.service.in
  34. targeting.cpp
  35. targeting.hpp
  36. 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`.