summaryrefslogtreecommitdiff
path: root/meta-facebook
diff options
context:
space:
mode:
authorPeter Yin <peter.yin@quantatw.com>2024-04-01 08:30:35 +0300
committerPatrick Williams <patrick@stwcx.xyz>2024-04-01 20:18:01 +0300
commit1d8698ebff31b92b2fff7f83dcbfc618575fddd9 (patch)
tree2a30fae2eca1d8f9359760ce78c8d45ca00245f2 /meta-facebook
parentc3a4eddaca3276b07f01672b7e3eda70df5c9274 (diff)
downloadopenbmc-1d8698ebff31b92b2fff7f83dcbfc618575fddd9.tar.xz
meta-facebook: haram: rename sgpio name
The power-cpu-good renamed to host0-ready to align with PSM host, so host-ready-n renamed to post-end-n to avoid confusion with host0-ready. Change-Id: I17e0774687440619ecc5926b1db1bd08e6512e17 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
Diffstat (limited to 'meta-facebook')
-rw-r--r--meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-monitor.json2
-rw-r--r--meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/power-cmd2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-monitor.json b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-monitor.json
index 8cab74b66c..c46e2ab608 100644
--- a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-monitor.json
+++ b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-monitor.json
@@ -24,7 +24,7 @@
"Continue": true
},
{
- "Name": "host-ready-n",
+ "Name": "post-end-n",
"ChipId": "2",
"GpioNum": 66,
"EventMon": "BOTH",
diff --git a/meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/power-cmd b/meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/power-cmd
index 147de4ca76..6f6f411b53 100644
--- a/meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/power-cmd
+++ b/meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/power-cmd
@@ -5,7 +5,7 @@ source /usr/libexec/fb-common-functions
# Power Good Status
power_status() {
- if [ "$(get_gpio "power-cpu-good")" -eq 1 ]; then
+ if [ "$(get_gpio "host0-ready")" -eq 1 ]; then
echo "on"
else
echo "off"