Boot from sbe side 0 when boot count is greater than 0

Recent code changes now decrement the boot count at
the start of every boot. The sbe side select design
is to boot from side 0 twice, then side 1 on the
last attempt. Now that the boot count is decremented
at the start of the boot (and the total boot count is 3),
the software needs to use side 0 when the boot count
is greater than or equal to 1.

Resolves openbmc/openbmc#2169

Change-Id: Ic08bed34d58de3d40b742ce52ca83627976d8fee
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
1 file changed
tree: 626e4109cc3373c563780316b47bcf02884d0f78
  1. org/
  2. procedures/
  3. test/
  4. .gitignore
  5. bootstrap.sh
  6. cfam_access.cpp
  7. cfam_access.hpp
  8. configure.ac
  9. elog-errors.hpp
  10. ext_interface.cpp
  11. ext_interface.hpp
  12. filedescriptor.cpp
  13. filedescriptor.hpp
  14. gen_makefile.sh
  15. LICENSE
  16. Makefile.am
  17. Makefile.generated.in
  18. p9_cfam.hpp
  19. proc_control.cpp
  20. README.md
  21. registration.cpp
  22. registration.hpp
  23. targeting.cpp
  24. targeting.hpp
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 full clean the repository again run `./bootstrap.sh clean`.