Add sensor and some FRU definitions for ipmi.
When phosphor-ipmi-host supports returning sensor data, this is
the file it will use to build the cpp map and provide the information.
This has been tested on my platform via ipmitool from the host.
Change-Id: Ie5b0696935d23d6f50c9f62ddb583618a9f3ff91
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf b/meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf
index 498fd53..9f2b25e 100644
--- a/meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf
+++ b/meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf
@@ -9,3 +9,30 @@
UBOOT_LOADADDRESS = "0x40008000"
FLASH_SIZE = "32768"
+
+# If we included the openpower.inc we'd get these from that.
+#OBMC_MACHINE_FEATURES += "\
+# obmc-phosphor-fan-mgmt \
+# obmc-phosphor-chassis-mgmt \
+# obmc-phosphor-flash-mgmt \
+# obmc-host-ipmi \
+# obmc-host-ctl \
+# openpower-pflash \
+# obmc-host-state-mgmt \
+# obmc-chassis-state-mgmt \
+# obmc-bmc-state-mgmt \
+# "
+# But we don't, and it's ok :D We're pulling in specific packages in an image recipe.
+
+# This sets up our own Quanta-q71l.py inclusion based on the Zaius.py in the skeleton repo.
+# As something temporarily required.
+VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config"
+PREFERRED_PROVIDER_virtual/obmc-inventory-data ?= "${VIRTUAL-RUNTIME_skeleton_workbook}"
+
+# These are meant to include the inventory config.yaml and so on.
+PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory = "q71l-ipmi-inventory-map-native"
+PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties = "q71l-ipmi-fru-properties"
+
+PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory = "q71l-ipmi-sensor-map-native"
+
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-bt"