diff options
author | Duncan Laurie <dlaurie@google.com> | 2018-04-07 15:13:56 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-04-09 15:18:57 -0700 |
commit | 18096899bdd36a7bd8cc957e6d7aad9b9143e42d (patch) | |
tree | 3dc842396eb1f93bf4d74f722a6cfedf5c6350d0 /board/plankton/board.h | |
parent | 32bbdbf88cf5422ac1ca8fe8121d3cec07c379c3 (diff) | |
download | chrome-ec-18096899bdd36a7bd8cc957e6d7aad9b9143e42d.tar.gz |
npcx: Touch watchdog during init
Touch the watchdog during init to prevent it from firing
prematurely during HOOK_INIT processing before the tasks are
started and watchdog_reload() will be called with HOOK_TICK.
BUG=b:77336348
BRANCH=eve,poppy,fizz,reef,kevin
TEST=run stress test for several days:
while true ; do ectool reboot_ec RO ; ectool reboot_ec RW ; done
Change-Id: I79e744a4678ab1808870d0e7647d2ce273ddeb8f
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1001532
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Mulin Chao <mlchao@nuvoton.com>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/plankton/board.h')
0 files changed, 0 insertions, 0 deletions