projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'next-20220328' of https://source.denx.de/u-boot/custodians/u-boot-video...
[platform/kernel/u-boot.git]
/
include
/
wdt.h
diff --git
a/include/wdt.h
b/include/wdt.h
index
bc242c2
..
5026f5a
100644
(file)
--- a/
include/wdt.h
+++ b/
include/wdt.h
@@
-38,6
+38,14
@@
int wdt_start(struct udevice *dev, u64 timeout_ms, ulong flags);
int wdt_stop(struct udevice *dev);
/*
int wdt_stop(struct udevice *dev);
/*
+ * Stop all registered watchdog devices.
+ *
+ * @return: 0 if ok, first error encountered otherwise (but wdt_stop()
+ * is still called on following devices)
+ */
+int wdt_stop_all(void);
+
+/*
* Reset the timer, typically restoring the counter to
* the value configured by start()
*
* Reset the timer, typically restoring the counter to
* the value configured by start()
*
@@
-52,7
+60,7
@@
int wdt_reset(struct udevice *dev);
*
* @dev: WDT Device
* @flags: Driver specific flags
*
* @dev: WDT Device
* @flags: Driver specific flags
- *
@return
0 if OK -ve on error. If wdt action is system reset,
+ *
Return:
0 if OK -ve on error. If wdt action is system reset,
* this function may never return.
*/
int wdt_expire_now(struct udevice *dev, ulong flags);
* this function may never return.
*/
int wdt_expire_now(struct udevice *dev, ulong flags);