projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Drop linux/delay.h from common header
[oweals/u-boot.git]
/
common
/
hash.c
diff --git
a/common/hash.c
b/common/hash.c
index ff4986a6190269ed4659685fd9cb77d8c423fae2..8c00659d252891b631f6299bdae9c789a72cab5d 100644
(file)
--- a/
common/hash.c
+++ b/
common/hash.c
@@
-13,19
+13,21
@@
#include <common.h>
#include <command.h>
#include <env.h>
#include <common.h>
#include <command.h>
#include <env.h>
+#include <log.h>
#include <malloc.h>
#include <mapmem.h>
#include <hw_sha.h>
#include <malloc.h>
#include <mapmem.h>
#include <hw_sha.h>
+#include <asm/cache.h>
#include <asm/io.h>
#include <linux/errno.h>
#include <u-boot/crc.h>
#else
#include "mkimage.h"
#include <time.h>
#include <asm/io.h>
#include <linux/errno.h>
#include <u-boot/crc.h>
#else
#include "mkimage.h"
#include <time.h>
-#include <image.h>
#endif /* !USE_HOSTCC*/
#include <hash.h>
#endif /* !USE_HOSTCC*/
#include <hash.h>
+#include <image.h>
#include <u-boot/crc.h>
#include <u-boot/sha1.h>
#include <u-boot/sha256.h>
#include <u-boot/crc.h>
#include <u-boot/sha1.h>
#include <u-boot/sha256.h>
@@
-443,8
+445,8
@@
static void hash_show(struct hash_algo *algo, ulong addr, ulong len, uint8_t *ou
printf("%02x", output[i]);
}
printf("%02x", output[i]);
}
-int hash_command(const char *algo_name, int flags,
cmd_tbl_t *cmdtp, int flag
,
- int
argc, char *
const argv[])
+int hash_command(const char *algo_name, int flags,
struct cmd_tbl *cmdtp
,
+ int
flag, int argc, char *
const argv[])
{
ulong addr, len;
{
ulong addr, len;