diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-06-17 06:01:45 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-06-17 18:34:03 +0000 |
commit | 0d0b53e7ca6f7f9bbe0c572a48af809cfc5ac62a (patch) | |
tree | 273d71682969fc750b6a0299be9c0ebcc9f036a1 /include/watchdog.h | |
parent | 88295aca5ac9bb9d13adf086bda66be09bd9f182 (diff) | |
download | chrome-ec-0d0b53e7ca6f7f9bbe0c572a48af809cfc5ac62a.tar.gz |
zinger: change watchdog timeout to 1.8 second
Increase watchdog timeout to 1.8 second. The pd_task can delay up
to 1.5 seconds, so the watchdog must be at least that value.
On Zinger, the new timeout period will be 2 seconds with LSI clock at 50kHz
and 3.36 seconds with LSI clock at 30kHz.
Note: the LSI frequency range is tighter on STM32F0 and cannot go up to
56kHz.
BUG=none
BRANCH=none
TEST=add 1.5 second blocking delay to pd_task and make sure
watchdog is normally not firing.
Change-Id: I444639ccacd3452181a5fb6caab8e5df7ef3c847
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/204333
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/watchdog.h')
-rw-r--r-- | include/watchdog.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/watchdog.h b/include/watchdog.h index 1981e3ce10..1853a3a87b 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -8,9 +8,6 @@ #ifndef __CROS_EC_WATCHDOG_H #define __CROS_EC_WATCHDOG_H -/* Watchdog period in ms; must be at least twice HOOK_TICK_INTERVAL */ -#define WATCHDOG_PERIOD_MS 1100 - /** * Initialize the watchdog. * |