diff options
Diffstat (limited to 'include/sysreset.h')
-rw-r--r-- | include/sysreset.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sysreset.h b/include/sysreset.h index 9d4ed87..ff20abd 100644 --- a/include/sysreset.h +++ b/include/sysreset.h @@ -133,4 +133,14 @@ void sysreset_walk_halt(enum sysreset_t type); */ void reset_cpu(void); +/** + * sysreset_register_wdt() - register a watchdog for use with sysreset + * + * This registers the given watchdog timer to be used to reset the system. + * + * @dev: WDT device + * @return: 0 if OK, -errno if error + */ +int sysreset_register_wdt(struct udevice *dev); + #endif |