summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/conf/machine
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-03-09 10:54:09 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-03-14 15:16:44 -0400
commit25c9a63084a97790d62d2bbb9db3cd64b91db5d4 (patch)
tree4fa9066ef39a89cb538f4a853fca1dd2e3bbcd5a /meta-openbmc-machines/meta-openpower/conf/machine
parentd683d87130f7a3aad1e3fc8382a98b94fb81b16b (diff)
downloadtalos-openbmc-25c9a63084a97790d62d2bbb9db3cd64b91db5d4.tar.gz
talos-openbmc-25c9a63084a97790d62d2bbb9db3cd64b91db5d4.zip
Use OpenPower variable for PS derating factor
The openpower-occ-control code needs to know the power supply derating factor, but will default to a value if one isn't supplied externally in do_configure. Since other will also need to use that same value, use a common variable for it defined in openpower.inc, and now pass it into the configure step. This derating factor is an OpenPower concept used by the Power processor's OCC thermal control subsystem. Tested: Check that the derating factor variable in config.h in the openenpower-occ-control repo follows the variable in openpower.inc. Change-Id: I259b6086ebe70b2ac6eccdd244e43a7d36a28a77 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/conf/machine')
-rw-r--r--meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc b/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc
index b2927d325..cbfe4fa0c 100644
--- a/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc
+++ b/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc
@@ -29,3 +29,6 @@ PREFERRED_PROVIDER_virtual/openpower-fru-properties ?= "openpower-fru-properties
# 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"
OpenPOWER on IntegriCloud