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
diff --git a/Makefile.am b/Makefile.am
index 70a2552..6c434f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,7 +31,8 @@
openpower_proc_control_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(SDBUSPLUS_LIBS) \
- -lstdc++fs
+ -lstdc++fs \
+ -lgpiodcxx
openpower_proc_control_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \