summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2023-04-26 16:20:07 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-17 21:37:26 +0000
commite4c1e440a127c9410884a001ee827cfc3ef5f5ce (patch)
treee42ae5289126fa97c60536f21c89ffc45872f6bd
parent13ce14637d17752cab676f1c3e9116e7f70530be (diff)
downloadchrome-ec-e4c1e440a127c9410884a001ee827cfc3ef5f5ce.tar.gz
octopus: Increase watchdog timeout period to 2100ms
Increase the watchdog period on NPCX based octopus boards to 2100ms. The assumption is that the watchdog may be triggering on false positive hangs. Increasing the watchdog has negligible impact on real hangs. BUG=b:255368431 BRANCH=octopus TEST=Build Change-Id: Ibcdaf6ff8c1e28dabd914ff0401988d52bdc2372 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4482242 Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--baseboard/octopus/baseboard.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h
index 622f7770e8..f612acaa7d 100644
--- a/baseboard/octopus/baseboard.h
+++ b/baseboard/octopus/baseboard.h
@@ -55,6 +55,14 @@
/* Allow the EC to enter deep sleep in S0 */
#define CONFIG_LOW_POWER_S0
+
+/*
+ * Increase period to prevent false positive hangs (b/255368431).
+ * TODO(b/281584278): Reevaluate period when more data is available.
+ */
+#undef CONFIG_WATCHDOG_PERIOD_MS
+#define CONFIG_WATCHDOG_PERIOD_MS 2100
+
#elif defined(VARIANT_OCTOPUS_EC_ITE8320)
/* IT83XX config */
#define CONFIG_IT83XX_VCC_1P8V