diff options
author | Heiko Schocher <hs@denx.de> | 2019-09-30 09:33:43 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2019-10-08 07:46:38 +0200 |
commit | ca51ef7c0c6140e6590746b07dad19040f95ef60 (patch) | |
tree | 6aa516d70bc77e74b99ab31c412ae6b7cf512861 /drivers/watchdog | |
parent | 61ba1244b548463dbfb3c5285b6b22e7c772c5bd (diff) | |
download | u-boot-ca51ef7c0c6140e6590746b07dad19040f95ef60.tar.gz |
watchdog: move WATCHDOG_TIMEOUT_MSECS to Kconfig
move WATCHDOG_TIMEOUT_MSECS to Kconfig and fix
all board defconfigs.
Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
Acked-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Martyn Welch <martyn.welch@collabora.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index a66a9bcbe2..8c16d69d33 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 |