projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
[oweals/u-boot.git]
/
drivers
/
watchdog
/
designware_wdt.c
diff --git
a/drivers/watchdog/designware_wdt.c
b/drivers/watchdog/designware_wdt.c
index e788e1b65d0aa4bd549b002bc41a6c2696798a93..c668567c66330c49e0b41af9fd4ac1d9e792f565 100644
(file)
--- a/
drivers/watchdog/designware_wdt.c
+++ b/
drivers/watchdog/designware_wdt.c
@@
-1,7
+1,6
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2013 Altera Corporation <www.altera.com>
/*
* Copyright (C) 2013 Altera Corporation <www.altera.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-65,7
+64,7
@@
void hw_watchdog_init(void)
/* reset to disable the watchdog */
hw_watchdog_reset();
/* set timer in miliseconds */
/* reset to disable the watchdog */
hw_watchdog_reset();
/* set timer in miliseconds */
- designware_wdt_settimeout(CONFIG_
HW_WATCHDOG_TIMEOUT_M
S);
+ designware_wdt_settimeout(CONFIG_
WATCHDOG_TIMEOUT_MSEC
S);
/* enable the watchdog */
designware_wdt_enable();
/* reset the watchdog */
/* enable the watchdog */
designware_wdt_enable();
/* reset the watchdog */