diff options
author | John Wang <wangzqbj@inspur.com> | 2019-06-12 12:27:23 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-06-28 16:03:14 +0300 |
commit | 4e0e99d2b3dccaa74de75e92df252c53b6f0062f (patch) | |
tree | d3cbef66451086f2a3c4db73217d5e7638077422 /meta-inspur/meta-fp5280g2/recipes-phosphor | |
parent | 49e4f60aebffcc24a9e1258db392444e41877f99 (diff) | |
download | openbmc-4e0e99d2b3dccaa74de75e92df252c53b6f0062f.tar.xz |
fp5280g2: Add checkstop-monitor gpio configuration
Tested: Built fp5280g2 and verified that obmc-host-crash.target
was reached after error injection.
(From meta-inspur rev: 7429376f373dfe4b51c5ea24f001bb0b47516e6f)
Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: Id0417446c9b40bdd2ebc5e5e9594b122729b0fb1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-inspur/meta-fp5280g2/recipes-phosphor')
-rw-r--r-- | meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend | 1 | ||||
-rw-r--r-- | meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend new file mode 100644 index 000000000..27e7cf9cf --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend_fp5280g2 := "${THISDIR}/${PN}:" diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop new file mode 100644 index 000000000..1665f01bd --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop @@ -0,0 +1,4 @@ +DEVPATH=/dev/input/by-path/platform-gpio-keys-event +KEY=11 +POLARITY=1 +TARGET=obmc-host-crash@0.target |