summaryrefslogtreecommitdiff
path: root/lib_generic/md5.c
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2008-04-25 13:54:02 +0200
committerWolfgang Denk <wd@denx.de>2008-04-25 14:05:21 +0200
commit7590378fb9c686709492ceb142825cd058255956 (patch)
treea6bb251a079fd9325cd77f6b7d2a6954fc84720d /lib_generic/md5.c
parent1de6b28be5d107ae90ad7a8a43653c49966e8afe (diff)
downloadu-boot-imx-7590378fb9c686709492ceb142825cd058255956.zip
u-boot-imx-7590378fb9c686709492ceb142825cd058255956.tar.gz
u-boot-imx-7590378fb9c686709492ceb142825cd058255956.tar.bz2
Use watchdog-aware functions when calculating hashes of images - take two
Some files didn't get updated properly with the "Use watchdog-aware functions when calculating hashes of images" commit, this commit fixes this. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib_generic/md5.c')
-rw-r--r--lib_generic/md5.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_generic/md5.c b/lib_generic/md5.c
index 20178b8..78ef475 100644
--- a/lib_generic/md5.c
+++ b/lib_generic/md5.c
@@ -25,6 +25,10 @@
and to fit the cifs vfs by
Steve French sfrench@us.ibm.com */
+#ifndef USE_HOSTCC
+#include <common.h>
+#endif /* USE_HOSTCC */
+#include <watchdog.h>
#include <linux/types.h>
#include <linux/string.h>
#include <u-boot/md5.h>