diff options
author | Sooraj Govindan <sooraj.govindan@intel.com> | 2021-02-09 11:51:48 +0530 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-11 14:03:09 +0000 |
commit | 2e33be2832ff2d2b82ca4057f81874c7545d882b (patch) | |
tree | 7982a5d7dda00532d98de9ff25e9ceb4c8ff6d0d | |
parent | 3d2d58cdb139c18cc8bcb96b8ee4be3eb2290c2d (diff) | |
download | chrome-ec-2e33be2832ff2d2b82ca4057f81874c7545d882b.tar.gz |
adlrvp: Modify watchdog timer
Frequent watchdog timer resets are seen, with the
increase in number of type-c ports. So increase
the timer value to support more type-c ports.
BRANCH=none
BUG=179760905
TEST=make sure DUT is not rebooting due to EC watchdog
reset, after giving 'shutdown -h now' command.
Signed-off-by: Sooraj Govindan <sooraj.govindan@intel.com>
Change-Id: Iaa79e80d383336c55cf0d16973f2f1e8321e0679
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2683615
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
-rw-r--r-- | board/adlrvpp_ite/adlrvp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/adlrvpp_ite/adlrvp.h b/board/adlrvpp_ite/adlrvp.h index b147552d59..f87a235a4b 100644 --- a/board/adlrvpp_ite/adlrvp.h +++ b/board/adlrvpp_ite/adlrvp.h @@ -104,6 +104,16 @@ /* Board Id */ #define I2C_ADDR_PCA9555_BOARD_ID_GPIO 0x22 +/* + * Frequent watchdog timer resets are seen, with the + * increase in number of type-c ports. So increase + * the timer value to support more type-c ports. + */ +#if defined(HAS_TASK_PD_C2) && defined(HAS_TASK_PD_C3) +#undef CONFIG_WATCHDOG_PERIOD_MS +#define CONFIG_WATCHDOG_PERIOD_MS 4000 +#endif + #ifndef __ASSEMBLER__ enum adlrvp_charge_ports { |