diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-12-05 08:10:34 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-12-06 01:11:34 +0000 |
commit | d097e25bf4796a83b122876c70c21ab8d2daf256 (patch) | |
tree | 79c802b02b54a75a1464cb53112fa65c504e3ec7 /board | |
parent | 9b1b0cb2fc24ebb443adb348049cf2e1fc3a1788 (diff) | |
download | chrome-ec-d097e25bf4796a83b122876c70c21ab8d2daf256.tar.gz |
g: add watchdog driver
Implement a driver to trigger a watchdog reboot if we are stuck
somewhere. Also display a nice warning when we reach half of the
watchdog period.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=none
TEST=On the console, type "waitms 500" and see nothing,
type "waitms 2000" and see the watchdog warning.
Type "waitms 4000" and see the warning, the platform rebooting.
Change-Id: Iac5d0100febd5eab1ae6cfac5a47ff728ebda3a6
Reviewed-on: https://chromium-review.googlesource.com/233430
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Trybot-Ready: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/cr50/board.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h index ab82f50a8c..4bcaaa99e6 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -14,7 +14,6 @@ #undef CONFIG_FMAP #undef CONFIG_HIBERNATE #undef CONFIG_LID_SWITCH -#undef CONFIG_WATCHDOG /* How do I identify nonexistant GPIOs? */ #define DUMMY_GPIO_BANK -1 |