diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-03-14 13:14:15 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-26 04:44:00 -0700 |
commit | 9a5a7225737051e9523a775ebf8bba63f144259b (patch) | |
tree | 4c604846f721c564c9dd966d7e5184230805c243 /board | |
parent | 5555323902f965a6e489e797f0e156d460e62d67 (diff) | |
download | chrome-ec-9a5a7225737051e9523a775ebf8bba63f144259b.tar.gz |
ish: Add watchdog timer
This adds support for the watchdog timer (WDT) available on Intel Sensor
Hub (ISH). The ISH will reset after T1 expires; see the comments at the
top of watchdog.c for further information on this design decision.
Originally, we had planned to implement a counter that would disable the
WDT after N failures. This was abandoned, since the register used to
store the counter was not able to maintain a value across reset on a
reliable basis (see b:128679825).
BUG=b:127980538,b:128679825
BRANCH=none
TEST=Used waitms command on arcada to verify WDT triggered a warning
IRQ after T1 and reset the system.
Change-Id: I4bd16c253110d60c57eb24cda2abc0facee20748
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1526316
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/arcada_ish/board.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board/arcada_ish/board.h b/board/arcada_ish/board.h index 54676661e4..6ab130bb68 100644 --- a/board/arcada_ish/board.h +++ b/board/arcada_ish/board.h @@ -76,10 +76,6 @@ #undef CONFIG_FLASH #undef CONFIG_FMAP #undef CONFIG_SWITCH -/* TODO: Watch Dog is supported but temporarily removed. Currently under - * development on KBL and will be carried over to WHL. - */ -#undef CONFIG_WATCHDOG /* Modules we want to exclude */ #undef CONFIG_CMD_HASH |