Refactor findGPIODevice

Update findGPIODevice() to work on the path passed
into it instead of just on the gpioDevice member
variable.

Now it can be called both for finding the path for
the UCD chip as well as for the device that has the
GPIOs used for GPU isolation.

Change-Id: I01b93ece63cf28a11f0b438741689823280c7e2f
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2 files changed
tree: ce78a2b3f87a3826f1086a29619abf4eab34a4f2
  1. power-sequencer/
  2. test/
  3. xyz/
  4. .gitignore
  5. argument.hpp
  6. bootstrap.sh
  7. configure.ac
  8. device.hpp
  9. device_monitor.hpp
  10. elog-errors.hpp
  11. event.hpp
  12. file.hpp
  13. LICENSE
  14. Makefile.am
  15. names_values.hpp
  16. pmbus.cpp
  17. pmbus.hpp
  18. README.md
  19. timer.cpp
  20. timer.hpp
  21. utility.cpp
  22. utility.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

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`.