aboutsummaryrefslogtreecommitdiff
path: root/hw/Makefile.inc
diff options
context:
space:
mode:
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>2017-07-28 00:45:30 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-28 14:53:19 +1000
commit1ded56ceb6a1c0f6e37321cbb74f4104ebfcf3fa (patch)
treecb55ab95e6deb847d25f2a658ef666b42b021438 /hw/Makefile.inc
parent5bec6cdf92f984cccc09dbe57579760a6e593b79 (diff)
downloadskiboot-1ded56ceb6a1c0f6e37321cbb74f4104ebfcf3fa.zip
skiboot-1ded56ceb6a1c0f6e37321cbb74f4104ebfcf3fa.tar.gz
skiboot-1ded56ceb6a1c0f6e37321cbb74f4104ebfcf3fa.tar.bz2
sensors: occ: Add support for OCC inband sensors
Add support to parse and export OCC inband sensors which are copied by OCC to main memory in P9. Each OCC writes three buffers which includes one names buffer for sensor meta data and two buffers for sensor readings. While OCC writes to one buffer the sensor values can be read from the other buffer. The sensors are updated every 100ms. This patch adds power, temperature, current and voltage sensors to /ibm,opal/sensors device-tree node which can be exported by the ibmpowernv-hwmon driver in Linux. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/Makefile.inc')
-rw-r--r--hw/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/Makefile.inc b/hw/Makefile.inc
index f22f0e8..f0fb4ad 100644
--- a/hw/Makefile.inc
+++ b/hw/Makefile.inc
@@ -7,7 +7,7 @@ HW_OBJS += p7ioc.o p7ioc-inits.o p7ioc-phb.o
HW_OBJS += phb3.o sfc-ctrl.o fake-rtc.o bt.o p8-i2c.o prd.o
HW_OBJS += dts.o lpc-rtc.o npu.o npu-hw-procedures.o xive.o phb4.o
HW_OBJS += fake-nvram.o lpc-mbox.o npu2.o npu2-hw-procedures.o
-HW_OBJS += phys-map.o sbe-p9.o capp.o
+HW_OBJS += phys-map.o sbe-p9.o capp.o occ-sensor.o
HW=hw/built-in.o
# FIXME hack this for now