summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-07-10 22:40:30 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-07-13 22:33:02 -0400
commit1918a256bd71a0dd5c932db2da937e3f82d4acaf (patch)
tree5492de1791a5045d500985f6e93c164c35c3501b /meta-openbmc-machines/meta-openpower
parent73b88dd6649a68d44505af64787c8b9cd8a583d5 (diff)
downloadtalos-openbmc-1918a256bd71a0dd5c932db2da937e3f82d4acaf.tar.gz
talos-openbmc-1918a256bd71a0dd5c932db2da937e3f82d4acaf.zip
wspoon: Inhibit phosphor-fan-presence-mrw
Use a hardcoded config file for the Witherspoon fan presence configuration. Hopefully a somewhat temporary workaround of missing tags in the Witherspoon MRW. Change-Id: If702959012a3ac627e5fb3e3307f2ee79a9af3d0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/conf/machine/witherspoon.conf4
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config%/config.yaml21
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%.bbappend1
3 files changed, 26 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/conf/machine/witherspoon.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/conf/machine/witherspoon.conf
index 69381da8f..e8eef10cf 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/conf/machine/witherspoon.conf
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/conf/machine/witherspoon.conf
@@ -17,3 +17,7 @@ PHOSPHOR_MRW_REV = "3a7d05c38c449d9bcd73544a941c0b41121e8e94"
# Inhibit phosphor-hwmon-config-mrw
VIRTUAL-RUNTIME_phosphor-hwmon-config = ""
+
+# Inhibit phosphor-fan-presence-mrw-native
+PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config = \
+ "phosphor-fan-presence-config-native"
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config%/config.yaml
new file mode 100644
index 000000000..53e0f5eba
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config%/config.yaml
@@ -0,0 +1,21 @@
+- Tach:
+ - PrettyName: fan2
+ Inventory: /system/chassis/motherboard/fan2
+ Description:
+ Sensors:
+ - fan2
+ - PrettyName: fan0
+ Inventory: /system/chassis/motherboard/fan0
+ Description:
+ Sensors:
+ - fan0
+ - PrettyName: fan1
+ Inventory: /system/chassis/motherboard/fan1
+ Description:
+ Sensors:
+ - fan1
+ - PrettyName: fan3
+ Inventory: /system/chassis/motherboard/fan3
+ Description:
+ Sensors:
+ - fan3
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%.bbappend
new file mode 100644
index 000000000..72d991c7e
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-presence-config-native%.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
OpenPOWER on IntegriCloud