aboutsummaryrefslogtreecommitdiff
path: root/lib/crc32.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-09-18 08:34:31 -0400
committerTom Rini <trini@konsulko.com>2022-09-18 08:34:31 -0400
commitb6c50e5831f6ce3800d4b3cf3c7aa35dde8c48d9 (patch)
tree4403d1b2ff259014c01855e08191ad0d1c294741 /lib/crc32.c
parentd219fc06b30d4b1ac4fac6c40b2ca69cb5ecf642 (diff)
parent8695fbb3a7ff3640eff62f7123323b16546d5b35 (diff)
downloadu-boot-WIP/18Sep2022-next.zip
u-boot-WIP/18Sep2022-next.tar.gz
u-boot-WIP/18Sep2022-next.tar.bz2
Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-watchdog into nextWIP/18Sep2022-next
- Migrate watchdog reset to cyclic infrastructure (Stefan)
Diffstat (limited to 'lib/crc32.c')
-rw-r--r--lib/crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crc32.c b/lib/crc32.c
index 5a3127e..aa94d70 100644
--- a/lib/crc32.c
+++ b/lib/crc32.c
@@ -255,7 +255,7 @@ uint32_t crc32_wd(uint32_t crc, const unsigned char *buf, uInt len,
chunk = chunk_sz;
crc = crc32(crc, curr, chunk);
curr += chunk;
- WATCHDOG_RESET ();
+ schedule();
}
#else
crc = crc32(crc, buf, len);