diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2008-04-25 13:54:02 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-25 14:05:21 +0200 |
commit | 7590378fb9c686709492ceb142825cd058255956 (patch) | |
tree | a6bb251a079fd9325cd77f6b7d2a6954fc84720d /lib_generic | |
parent | 1de6b28be5d107ae90ad7a8a43653c49966e8afe (diff) | |
download | u-boot-7590378fb9c686709492ceb142825cd058255956.tar.gz |
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')
-rw-r--r-- | lib_generic/md5.c | 4 | ||||
-rw-r--r-- | lib_generic/sha1.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib_generic/md5.c b/lib_generic/md5.c index 20178b8dcd..78ef47535e 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> diff --git a/lib_generic/sha1.c b/lib_generic/sha1.c index 69506592f7..c8ef4d2827 100644 --- a/lib_generic/sha1.c +++ b/lib_generic/sha1.c @@ -29,6 +29,10 @@ #define _CRT_SECURE_NO_DEPRECATE 1 #endif +#ifndef USE_HOSTCC +#include <common.h> +#endif /* USE_HOSTCC */ +#include <watchdog.h> #include <linux/string.h> #include "sha1.h" |