summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Schocher <[email protected]>2019-09-30 09:33:43 +0200
committerStefan Roese <[email protected]>2019-10-08 07:46:38 +0200
commitca51ef7c0c6140e6590746b07dad19040f95ef60 (patch)
tree6aa516d70bc77e74b99ab31c412ae6b7cf512861 /drivers
parent61ba1244b548463dbfb3c5285b6b22e7c772c5bd (diff)
watchdog: move WATCHDOG_TIMEOUT_MSECS to Kconfig
move WATCHDOG_TIMEOUT_MSECS to Kconfig and fix all board defconfigs. Signed-off-by: Heiko Schocher <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Acked-by: Lukasz Majewski <[email protected]> Acked-by: Martyn Welch <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/watchdog/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index a66a9bcbe23..8c16d69d333 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -8,6 +8,15 @@ config WATCHDOG
this option if you want to service enabled watchdog by U-Boot. Disable
this option if you want U-Boot to start watchdog but never service it.
+config WATCHDOG_TIMEOUT_MSECS
+ int "Watchdog timeout in msec"
+ default 128000 if ARCH_MX25 || ARCH_MX31 || ARCH_MX5 || ARCH_MX6
+ default 128000 if ARCH_MX7 || ARCH_VF610
+ default 30000 if ARCH_SOCFPGA
+ default 60000
+ help
+ Watchdog timeout in msec
+
config HW_WATCHDOG
bool