Add cfam reset and FSI scans to the SPI mux service

Setting the SPI mux first requires FSI to be scanned, which requires
the CFAMs to be reset. Then, once the SPI mux is set, in order to probe
the SPI controllers, FSI must be scanned once again. Add all of this to
the service which sets the SPI mux.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: I2d26b9810f82f256996c10ee72e52674c749163e
1 file changed
tree: d9e2602de6c34c3978a382274a1bc484118ed82f
  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`.