summaryrefslogtreecommitdiff
path: root/include/wdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wdt.h')
-rw-r--r--include/wdt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/wdt.h b/include/wdt.h
index 5026f5a6db4..1ef656585c4 100644
--- a/include/wdt.h
+++ b/include/wdt.h
@@ -19,6 +19,15 @@ struct udevice;
*/
/*
+ * Force watchdog start during init. Called by driver's probe when the watchdog
+ * is detected as already started.
+ *
+ * @dev: WDT Device
+ * @return: 0 if OK, -ve on error
+ */
+int wdt_set_force_autostart(struct udevice *dev);
+
+/*
* Start the timer
*
* @dev: WDT Device