diff options
author | Zev Weiss <zev@bewilderbeest.net> | 2024-03-12 00:14:15 +0300 |
---|---|---|
committer | Zev Weiss <zev@bewilderbeest.net> | 2024-03-18 23:49:56 +0300 |
commit | 0a6085fedd4c0b3314c3e836f84d5bda53af9147 (patch) | |
tree | d301a821955bd62f6cb9d571d6c6e590fe3a714a /meta-asrock | |
parent | 62509eacae37bcda22860855f6512a11e23f2f9c (diff) | |
download | openbmc-0a6085fedd4c0b3314c3e836f84d5bda53af9147.tar.xz |
meta-asrock: e3c256d4i: Work around hardware bug with NMI signals
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: I507f963b15106b686b04275b13137f1036afcd03
Diffstat (limited to 'meta-asrock')
-rw-r--r-- | meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control/power-config-host0.json | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control/power-config-host0.json b/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control/power-config-host0.json index 44025242ad..2d5538225e 100644 --- a/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control/power-config-host0.json +++ b/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control/power-config-host0.json @@ -7,16 +7,25 @@ "Polarity": "ActiveLow" }, { + // See below for why this is disabled instead of using NMI_BTN_N "Name" : "NMIButton", - "LineName" : "NMI_BTN_N", + "LineName" : "", "Type" : "GPIO", "Polarity": "ActiveLow" }, { + // Some revisions of the e3c256d4i board have a hardware bug that + // breaks the BMC_NMI line (asserting it doesn't actually trigger an + // NMI on the host), but as a workaround treating the NMI_BTN_N line + // (normally the NMI button input) instead as an output and driving + // it low will actually do it. Since there's (AFAIK) no actual + // physical button or connector for one available on the board + // anyway, making the button input unusable isn't a big loss, and + // the hack works on boards both with and without the bug. "Name" : "NMIOut", - "LineName" : "BMC_NMI", + "LineName" : "NMI_BTN_N", "Type" : "GPIO", - "Polarity": "ActiveHigh" + "Polarity": "ActiveLow" }, { "Name" : "PostComplete", |