summaryrefslogtreecommitdiff
path: root/include/wdt.h
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2020-03-13 19:04:56 +0300
committerStefan Roese <sr@denx.de>2020-04-15 09:53:49 +0300
commit21a0bf7f466b8e71ce5ba2c2bcf635d7ab1fc83d (patch)
treee7abdd4b65533a757e2b7be14a4a676ae85a966b /include/wdt.h
parent142a07f2a44262d76fec609e1fcde51794a456eb (diff)
downloadu-boot-21a0bf7f466b8e71ce5ba2c2bcf635d7ab1fc83d.tar.xz
watchdog: remove stale ifndef CONFIG_WATCHDOG_TIMEOUT_MSECS from wdt.h
Since WATCHDOG_TIMEOUT_MSECS was converted to Kconfig (commit ca51ef7c0c), CONFIG_WATCHDOG_TIMEOUT_MSECS has been guaranteed to be defined. So remove the dead fallback ifdeffery. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/wdt.h')
-rw-r--r--include/wdt.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/wdt.h b/include/wdt.h
index dd83dfdd32..4cbb8de8cb 100644
--- a/include/wdt.h
+++ b/include/wdt.h
@@ -107,9 +107,6 @@ struct wdt_ops {
};
#if CONFIG_IS_ENABLED(WDT)
-#ifndef CONFIG_WATCHDOG_TIMEOUT_MSECS
-#define CONFIG_WATCHDOG_TIMEOUT_MSECS (60 * 1000)
-#endif
#define WATCHDOG_TIMEOUT_SECS (CONFIG_WATCHDOG_TIMEOUT_MSECS / 1000)
static inline int initr_watchdog(void)