]> git.sur5r.net Git - u-boot/blobdiff - drivers/watchdog/designware_wdt.c
dwc2 USB controller hangs with lan78xx
[u-boot] / drivers / watchdog / designware_wdt.c
index e788e1b65d0aa4bd549b002bc41a6c2696798a93..c668567c66330c49e0b41af9fd4ac1d9e792f565 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2013 Altera Corporation <www.altera.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -65,7 +64,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 */