summaryrefslogtreecommitdiff
path: root/board/trogdor/board.c
diff options
context:
space:
mode:
authorAlexandru M Stan <amstan@chromium.org>2020-01-29 16:42:46 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-01 01:11:02 +0000
commit228bbe7fa88cd5c57956d57429b2b792a2e44370 (patch)
tree56f0086ba205057f6f466899cda6742d0d82d36a /board/trogdor/board.c
parentab88ce1416cfcbf0cd6a81cb16e0890eaef1eff1 (diff)
downloadchrome-ec-228bbe7fa88cd5c57956d57429b2b792a2e44370.tar.gz
Trogdor: Print when someone's trying to use AP_RST_REQ
AP_RST_REQ is deprecated, but it would be nice to know if the AP is trying to misuse this signal. Add it back in as a power signal interrupt. BRANCH=None BUG=b/148238496 TEST=With kernel sandbox 200123-wip-tree: * run "halt" on the AP console * this will assert the AP_RST_REQ signal * you can see EC talk about it: DEPRECATED_AP_RST_REQ => 1 * but cold reboot still doesn't happen Change-Id: I8be10367afa7742642b793dc50e90964eb0b12c1 Signed-off-by: Alexandru M Stan <amstan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2029203 Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'board/trogdor/board.c')
-rw-r--r--board/trogdor/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/trogdor/board.c b/board/trogdor/board.c
index 978ac75611..e5b7831950 100644
--- a/board/trogdor/board.c
+++ b/board/trogdor/board.c
@@ -207,6 +207,10 @@ const struct power_signal_info power_signal_list[] = {
GPIO_AP_SUSPEND,
POWER_SIGNAL_ACTIVE_HIGH,
"AP_SUSPEND"},
+ [SC7180_DEPRECATED_AP_RST_REQ] = {
+ GPIO_DEPRECATED_AP_RST_REQ,
+ POWER_SIGNAL_ACTIVE_HIGH,
+ "DEPRECATED_AP_RST_REQ"},
};
BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);