diff options
author | Stefan Roese <sr@denx.de> | 2022-09-02 13:57:49 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-13 16:01:43 -0400 |
commit | 661cdaa79d961248bc8290f421d9cf3eb8defffd (patch) | |
tree | c5ec4449f869b91910dece575e935e6bcff40fbf /lib/efi_loader/efi_disk.c | |
parent | c2c6971888784cac01e625ef7f436d20e5fb23ba (diff) |
cyclic: Integrate cyclic infrastructure into WATCHDOG_RESET
This patch integrates the main function responsible for calling all
registered cyclic functions cyclic_run() into the common WATCHDOG_RESET
macro. This guarantees that cyclic_run() is executed very often, which
is necessary for the cyclic functions to get scheduled and executed at
their configured periods.
If CONFIG_WATCHDOG is not enabled, only cyclic_run() without calling
watchdog_reset(). This guarantees that the cyclic functionality does not
rely on CONFIG_WATCHDOG being enabled.
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/efi_loader/efi_disk.c')
0 files changed, 0 insertions, 0 deletions