summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-common/recipes-phosphor/watchdog
diff options
context:
space:
mode:
authorThang Q. Nguyen <thang@os.amperecomputing.com>2022-05-16 08:41:57 +0300
committerThang Q. Nguyen <thang@os.amperecomputing.com>2022-06-03 12:39:33 +0300
commit6998e511ba3fa5ba9227b865ef433aa450138cef (patch)
treeb9b21f5fbfb262d0ba73505584a08c549f35ba8d /meta-ampere/meta-common/recipes-phosphor/watchdog
parent27083c319a11c6ea3d86ea62c1c30a3ca7597a69 (diff)
downloadopenbmc-6998e511ba3fa5ba9227b865ef433aa450138cef.tar.xz
meta-ampere: refine code structure
Restructure Ampere recipes to better reuse existing resource for multiple platforms later. Tested: 1. Compile without error. 2. Run regression test for related features without error. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I5d034d21273b99be651f20dc2eb5549c1092f079
Diffstat (limited to 'meta-ampere/meta-common/recipes-phosphor/watchdog')
-rw-r--r--meta-ampere/meta-common/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-ampere/meta-common/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend b/meta-ampere/meta-common/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend
new file mode 100644
index 0000000000..7698091fc8
--- /dev/null
+++ b/meta-ampere/meta-common/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend
@@ -0,0 +1,9 @@
+FILESEXTRAPATHS:append := "${THISDIR}/${PN}:"
+
+#
+# Ampere Mt. Jade power control involves different action during
+# the course of action which does not involve rebooting the Host.
+# Thus disable the use of Host Power-On watchdog.
+#
+WATCHDOG_FMT = ""
+ENABLE_WATCHDOG_FMT = ""