]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/watchdog/designware_wdt.c
cfi_flash: Remove assignments from if conditions
[people/ms/u-boot.git] / drivers / watchdog / designware_wdt.c
index e788e1b65d0aa4bd549b002bc41a6c2696798a93..8ec094d99448d51d0ca338234c0f5ef9b59e1eb4 100644 (file)
@@ -65,7 +65,7 @@ void hw_watchdog_init(void)
        /* reset to disable the watchdog */
        hw_watchdog_reset();
        /* set timer in miliseconds */
-       designware_wdt_settimeout(CONFIG_HW_WATCHDOG_TIMEOUT_MS);
+       designware_wdt_settimeout(CONFIG_WATCHDOG_TIMEOUT_MSECS);
        /* enable the watchdog */
        designware_wdt_enable();
        /* reset the watchdog */