aboutsummaryrefslogtreecommitdiff
path: root/hw/ipmi/Makefile.inc
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2014-09-24 14:44:20 +1000
committerJeremy Kerr <jk@ozlabs.org>2015-03-04 16:02:20 +0800
commit81791e5da50b9804a19f2bfbc25916791b28d499 (patch)
treec6a4922b4a687f9353c7246cb9bab6b7712c6f52 /hw/ipmi/Makefile.inc
parent0f2343075276a6bcc15c679b4270d0843e002da0 (diff)
downloadskiboot-81791e5da50b9804a19f2bfbc25916791b28d499.zip
skiboot-81791e5da50b9804a19f2bfbc25916791b28d499.tar.gz
skiboot-81791e5da50b9804a19f2bfbc25916791b28d499.tar.bz2
hw/ipmi: Add API for setting sensors
This allows setting a given IPMI sensor to a given value. There are helpers for setting the firmware boot progress that will be used for updating the BMC with the host boot progress. The sensor ids are parsed from the device tree. If the sensor cannot be found we will silently continue. Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'hw/ipmi/Makefile.inc')
-rw-r--r--hw/ipmi/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ipmi/Makefile.inc b/hw/ipmi/Makefile.inc
index 1c358a9..06cdc96 100644
--- a/hw/ipmi/Makefile.inc
+++ b/hw/ipmi/Makefile.inc
@@ -1,6 +1,7 @@
SUBDIRS += hw/ipmi
IPMI_OBJS = ipmi-rtc.o ipmi-power.o ipmi-opal.o ipmi-fru.o ipmi-sel.o
-IPMI_OBJS += ipmi-watchdog.o
+IPMI_OBJS += ipmi-watchdog.o ipmi-sensor.o
+
IPMI = hw/ipmi/built-in.o
$(IPMI): $(IPMI_OBJS:%=hw/ipmi/%)