diff options
author | Tom Rini <trini@konsulko.com> | 2022-10-26 07:45:55 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-26 07:45:55 -0400 |
commit | c2c485db455696850f17a874f8b5a11d13b31b5c (patch) | |
tree | 291e7cd1007f6cdf6e514c21edd5c2e5fa9a0a2e /include/cyclic.h | |
parent | f9d16f2c0daf68dcb963c08c927f5f0a07cf75e4 (diff) | |
parent | 5e112c7ca8ee45860e27f23059d9a319ba8eb6d3 (diff) |
Merge https://source.denx.de/u-boot/custodians/u-boot-watchdog
- nuvoton: add expire function for generic reset (Jim)
- handle watchdogs during keyed autoboot (Rasmus)
- cyclic: Don't disable cylic function upon exceeding CPU time (Stefan)
- ulp wdog: Updates to support iMX93 and DM (Alice)
Diffstat (limited to 'include/cyclic.h')
-rw-r--r-- | include/cyclic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cyclic.h b/include/cyclic.h index 7601636433..9c5c4fcc54 100644 --- a/include/cyclic.h +++ b/include/cyclic.h @@ -39,6 +39,7 @@ struct cyclic_drv { * @run_cnt: Counter of executions occurances * @next_call: Next time in us, when the function shall be executed again * @list: List node + * @already_warned: Flag that we've warned about exceeding CPU time usage */ struct cyclic_info { void (*func)(void *ctx); @@ -50,6 +51,7 @@ struct cyclic_info { uint64_t run_cnt; uint64_t next_call; struct list_head list; + bool already_warned; }; /** Function type for cyclic functions */ |