diff options
author | Yuval Peress <peress@chromium.org> | 2021-04-06 13:16:22 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-07 06:03:59 +0000 |
commit | 93dbb1cd5b95b3a4618cdd4984b6b9a71ce5871a (patch) | |
tree | aa0ba7a8a52868bedef1d0d6afb93c491a59a57d /zephyr/Kconfig.watchdog | |
parent | 3bbd79f137d86fe0eedcdd07ae5b4241be823444 (diff) | |
download | chrome-ec-93dbb1cd5b95b3a4618cdd4984b6b9a71ce5871a.tar.gz |
zephyr: kconfig: move timer configs to separate file
Clean up the root Kconfig for Zephyr by moving sub configs to separate
file (Kconfig.timer).
BRANCH=none
BUG=none
TEST=zmake testall
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ie5987fd413cdc89a1f3f15508def6fdc64d94750
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2808333
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.watchdog')
-rw-r--r-- | zephyr/Kconfig.watchdog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zephyr/Kconfig.watchdog b/zephyr/Kconfig.watchdog new file mode 100644 index 0000000000..57951b6f12 --- /dev/null +++ b/zephyr/Kconfig.watchdog @@ -0,0 +1,16 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +if PLATFORM_EC_WATCHDOG + +config PLATFORM_EC_WATCHDOG_PERIOD_MS + int "Watchdog timeout in ms" + default 1600 + help + Set the timeout of the watchdog timer. The watchdog timer reboots + the system if no one reloads the watchdog timer before the timeout. + The interval between reloads of the watchdog timer should be less than + half of the watchdog period. + +endif # PLATFORM_EC_WATCHDOG |