diff options
author | Tom Rini <trini@konsulko.com> | 2021-11-04 09:14:19 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-11-04 09:14:19 -0400 |
commit | 2a5ad542e6c238ff5c0b490b49354e780ab46d71 (patch) | |
tree | 52890055abf902ec90e4abdb0fe7adac441f7887 /include/sysreset.h | |
parent | bc18582a1471384e3c4584dfd17f48a91c88445d (diff) | |
parent | 40edc320b16271a725876b1b6f875cbd342c6582 (diff) |
Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
- Improved sysreset/watchdog uclass integration (Samuel)
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 9d4ed87ceaf..ff20abdeed3 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 |