diff options
author | Rob Barnes <robbarnes@google.com> | 2023-04-26 16:20:07 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-17 22:26:26 +0000 |
commit | c4e28e973dbafcdfbd6da05e1e34f37b878cf77a (patch) | |
tree | 3303fe5bfa1bbb26f2023b22bdbc4ed24c8894a4 | |
parent | 39bfb5c9acc0acc6124dded471941044483951ab (diff) | |
download | chrome-ec-firmware-octopus-11297.B.tar.gz |
octopus: Increase watchdog timeout period to 2100msfirmware-octopus-11297.B
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>
(cherry picked from commit e4c1e440a127c9410884a001ee827cfc3ef5f5ce)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4545443
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | baseboard/octopus/baseboard.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h index a7f492625d..adde23f70f 100644 --- a/baseboard/octopus/baseboard.h +++ b/baseboard/octopus/baseboard.h @@ -57,6 +57,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) /* Flash clock must be > (50Mhz / 2) */ #define CONFIG_IT83XX_FLASH_CLOCK_48MHZ |