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/sha1.c | |
parent | 1de6b28be5d107ae90ad7a8a43653c49966e8afe (diff) | |
download | u-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/sha1.c')
-rw-r--r-- | lib_generic/sha1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_generic/sha1.c b/lib_generic/sha1.c index 6950659..c8ef4d2 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" |