projects
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'net' of git://www.denx.de/git/u-boot-microblaze
[kernel/u-boot.git]
/
common
/
hash.c
diff --git
a/common/hash.c
b/common/hash.c
index
722c40b
..
872cd85
100644
(file)
--- a/
common/hash.c
+++ b/
common/hash.c
@@
-325,8
+325,8
@@
int hash_command(const char *algo_name, int flags, cmd_tbl_t *cmdtp, int flag,
printf("CRC32 for %08lx ... %08lx ==> %08lx\n",
addr, addr + len - 1, crc);
- if (argc > 3) {
- ptr = (ulong *)simple_strtoul(argv[
3
], NULL, 16);
+ if (argc >
=
3) {
+ ptr = (ulong *)simple_strtoul(argv[
0
], NULL, 16);
*ptr = crc;
}
}