From 194ff4f1f5d44b12e9cb06ddafa6adb20174a13c Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Wed, 22 Aug 2018 21:40:54 -0400 Subject: [Subtree] Bring openbmc machines to top level The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- meta-openpower/conf/machine/include/openpower.inc | 34 +++++++++++++++++++++++ meta-openpower/conf/machine/include/p8.inc | 1 + meta-openpower/conf/machine/include/p9.inc | 2 ++ 3 files changed, 37 insertions(+) create mode 100644 meta-openpower/conf/machine/include/openpower.inc create mode 100644 meta-openpower/conf/machine/include/p8.inc create mode 100644 meta-openpower/conf/machine/include/p9.inc (limited to 'meta-openpower/conf/machine') diff --git a/meta-openpower/conf/machine/include/openpower.inc b/meta-openpower/conf/machine/include/openpower.inc new file mode 100644 index 000000000..cbfe4fa0c --- /dev/null +++ b/meta-openpower/conf/machine/include/openpower.inc @@ -0,0 +1,34 @@ +OBMC_MACHINE_FEATURES += "\ + obmc-phosphor-fan-mgmt \ + obmc-phosphor-chassis-mgmt \ + obmc-phosphor-flash-mgmt \ + obmc-host-ipmi \ + obmc-host-ctl \ + obmc-host-state-mgmt \ + obmc-chassis-state-mgmt \ + obmc-bmc-state-mgmt \ + " + +VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config" + +PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-bt" +PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-op-apps" +PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-op-apps" +PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-op-apps" +PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-op-apps" +PREFERRED_PROVIDER_virtual/obmc-host-ctl ?= "obmc-op-control-host" +PREFERRED_PROVIDER_virtual/obmc-inventory-data ?= "${VIRTUAL-RUNTIME_skeleton_workbook}" +PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "hostboot-inventory-config-native" +PREFERRED_PROVIDER_virtual/openpower-fru-vpd-layout ?= "openpower-fru-vpd-layout-native" +PREFERRED_PROVIDER_virtual/openpower-fru-inventory ?= "openpower-fru-inventory-example-native" +PREFERRED_PROVIDER_virtual/openpower-fru-properties ?= "openpower-fru-properties-example-native" + +# The openpower-occ-control application is data-driven and requires an input +# yaml of OCC instance numbers to sensor IDs. +# This virtual is a native recipe that provides that mapping by installing +# configuration files in the format and native sysroot location expected by +# the openpower-occ-control build process in the native sysroot. +PREFERRED_PROVIDER_virtual/openpower-occ-control-config-native ?= "openpower-occ-control-config-example-native" + +#Default value for power supply output power efficiency. +POWER_SUPPLY_DERATING_FACTOR = "90" diff --git a/meta-openpower/conf/machine/include/p8.inc b/meta-openpower/conf/machine/include/p8.inc new file mode 100644 index 000000000..b43045d5a --- /dev/null +++ b/meta-openpower/conf/machine/include/p8.inc @@ -0,0 +1 @@ +OBMC_MACHINE_FEATURES += 'i2c-occ' diff --git a/meta-openpower/conf/machine/include/p9.inc b/meta-openpower/conf/machine/include/p9.inc new file mode 100644 index 000000000..b0e0bb95e --- /dev/null +++ b/meta-openpower/conf/machine/include/p9.inc @@ -0,0 +1,2 @@ +OBMC_MACHINE_FEATURES += 'p9-vcs-workaround op-fsi p9-cfam-override' +PREFERRED_PROVIDER_virtual/obmc-host-ctl = "p9-host-start" -- cgit v1.2.3