diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-06-17 19:49:17 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-06-20 18:27:26 +0000 |
commit | 323273daeb437387957c7f736b5764e3e38e1168 (patch) | |
tree | ef882194c0e44ab08a788082151e90dffcce0577 /chip/lm4 | |
parent | 1a4bf7fdaa58d7e05d33bc1faf3fceed8b6ad07a (diff) | |
download | chrome-ec-323273daeb437387957c7f736b5764e3e38e1168.tar.gz |
zinger: fix bug, increase watchdog timeout to 1.8s
Fix bug and actually increase watchdog timeout to 1.8s.
BUG=none
BRANCH=none
TEST=put a 3 second blocking delay in pd_task and make
sure watchdog reboots. set blocking delay to 1.5seconds
and make sure no reboot.
Change-Id: Ie66621a3bd98354f9fd22b9b10a866d004277340
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/204471
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/lm4')
-rw-r--r-- | chip/lm4/watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/watchdog.c b/chip/lm4/watchdog.c index 56f051bcd8..565ce69fd4 100644 --- a/chip/lm4/watchdog.c +++ b/chip/lm4/watchdog.c @@ -82,7 +82,7 @@ DECLARE_HOOK(HOOK_TICK, watchdog_reload, HOOK_PRIO_DEFAULT); static void watchdog_freq_changed(void) { /* Set the timeout period */ - watchdog_period = WATCHDOG_PERIOD_MS * (clock_get_freq() / 1000); + watchdog_period = CONFIG_WATCHDOG_PERIOD_MS * (clock_get_freq() / 1000); /* Reload the watchdog timer now */ watchdog_reload(); |