projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
efi_loader: validate load option
[oweals/u-boot.git]
/
cmd
/
md5sum.c
diff --git
a/cmd/md5sum.c
b/cmd/md5sum.c
index 63cbae0364c1fe2437ea8d6c069aea327b647c6f..5ae3ddf85f82074960b7bdfbef83f9df5242da7a 100644
(file)
--- a/
cmd/md5sum.c
+++ b/
cmd/md5sum.c
@@
-10,6
+10,7
@@
#include <common.h>
#include <command.h>
#include <env.h>
#include <common.h>
#include <command.h>
#include <env.h>
+#include <image.h>
#include <mapmem.h>
#include <u-boot/md5.h>
#include <asm/io.h>
#include <mapmem.h>
#include <u-boot/md5.h>
#include <asm/io.h>
@@
-72,7
+73,7
@@
static int parse_verify_sum(char *verify_str, u8 *vsum)
return 0;
}
return 0;
}
-int do_md5sum(
cmd_tbl_t *cmdtp, int flag, int argc, char *
const argv[])
+int do_md5sum(
struct cmd_tbl *cmdtp, int flag, int argc, char *
const argv[])
{
ulong addr, len;
unsigned int i;
{
ulong addr, len;
unsigned int i;
@@
-135,7
+136,8
@@
int do_md5sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return 0;
}
#else
return 0;
}
#else
-static int do_md5sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_md5sum(struct cmd_tbl *cmdtp, int flag, int argc,
+ char *const argv[])
{
unsigned long addr, len;
unsigned int i;
{
unsigned long addr, len;
unsigned int i;