diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-11-16 13:57:27 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-11-16 19:04:38 -0800 |
commit | 35ad88f61824bf7873cac05b1b23fa38ff7869e5 (patch) | |
tree | 11139f2455c328c7bfe8e356437d2ed8eb50543c | |
parent | 8f8d635dcb4483156ff70b82db39f30dce9bad6b (diff) | |
download | chrome-ec-35ad88f61824bf7873cac05b1b23fa38ff7869e5.tar.gz |
Cr50: Bump the watchdog timeout up a bit
Wiping and restarting the TPM, including regenerating the
endorsement certs can take over a second. The default watchdog
timeout is only 1.6 seconds, so let's make sure we don't
accidentally hit that limit.
BUG=chrome-os-partner:59902
BRANCH=none
TEST=make buildall; run on Reef
It wasn't firing before; it's still not firing.
Change-Id: I3c1e27156c4423fd6cb7b768be4b987b00bdd607
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/411983
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r-- | board/cr50/board.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h index d83b72b180..d95acfe5d4 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -6,6 +6,15 @@ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H +/* + * The default watchdog timeout is 1.6 seconds, but there are some legitimate + * flash-intensive TPM operations that actually take close to that long to + * complete. Make sure we don't trigger the watchdog accidentally if the timing + * is just a little off. + */ +#undef CONFIG_WATCHDOG_PERIOD_MS +#define CONFIG_WATCHDOG_PERIOD_MS 5000 + /* Features that we don't want */ #undef CONFIG_CMD_LID_ANGLE #undef CONFIG_CMD_POWERINDEBUG |