commit | c569a42895ac035837f1508d14903cfea3c5a675 | [log] [tgz] |
---|---|---|
author | Ben Pai <Ben_Pai@wistron.com> | Tue Dec 24 11:43:57 2019 +0800 |
committer | Ben Pai <Ben_Pai@wistron.com> | Mon Jan 13 18:26:37 2020 +0800 |
tree | e4cf38340247e4d75f23279aeecf2dd1b4d31c81 | |
parent | de595e38e6c38729d7e0c7eb6925fe639cbb5b85 [diff] |
meta-ibm: Change the order of avsbus-disable Currently avsbus-disable will be executed after power_up to 1. We found that this will cause power on fail, so avsbus-disable should be performed before power on. Change-Id: I44b5da5561718eebb77159325403f03beb66ec95 Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
diff --git a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/mihawk/avsbus-disable@.service b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/mihawk/avsbus-disable@.service old mode 100755 new mode 100644 index 7a1df99..5396948 --- a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/mihawk/avsbus-disable@.service +++ b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/mihawk/avsbus-disable@.service
@@ -1,7 +1,7 @@ [Unit] Description=Disable the AVS bus on the VRMs -Wants=op-power-start@.service -After=op-power-start@.service +Wants=ir35221-on-unbind@%i.service +After=ir35221-on-unbind@%i.service Before=avsbus-enable@%i.service Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on
diff --git a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/mihawk/avsbus-enable@.service b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/mihawk/avsbus-enable@.service old mode 100755 new mode 100644 index 810c92e..34d9e4b --- a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/mihawk/avsbus-enable@.service +++ b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/mihawk/avsbus-enable@.service
@@ -1,7 +1,7 @@ [Unit] Description=Enable the AVS bus on VRMs -Wants=avsbus-disable@%i.service -After=avsbus-disable@%i.service +Wants=op-power-start@%i.service +After=op-power-start@%i.service Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on