Hash calculation of an image can be a time consuming operation, with the
possibility of making the hardware watchdog (if present/enabled) expire in the
middle. Make image hash calculation use use watchdog-aware functions.
---
v3 of the patchset, rebased against current TOT (commit 04a5b03d), dropped one
patch already applied and added a patch changing crc32_wd prototype.
Bartlomiej Sieka (2):
Use watchdog-aware functions when calculating hashes of images
crc32: use uint32_t rather than unsigned long in watchdog-aware variant
common/image.c | 42 ++++++++----------------------------------
include/image.h | 17 +++++++++++++++--
lib_generic/crc32.c | 4 +++-
lib_generic/md5.c | 4 ++++
lib_generic/sha1.c | 4 ++++
5 files changed, 34 insertions(+), 37 deletions(-)
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users