[U-Boot-Users] [PATCH v3 0/2] Calculate image hashes with watchdog triggering

Bartlomiej Sieka tur at semihalf.com
Fri Apr 25 12:09:33 CEST 2008


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(-)




More information about the U-Boot mailing list