projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[new uImage] Fix erroneous use of image_get_magic() in fdc/usb cmds
[oweals/u-boot.git]
/
common
/
cmd_fdc.c
diff --git
a/common/cmd_fdc.c
b/common/cmd_fdc.c
index c97abfb58ec7a23cb7d136f88498d943cde8d997..9ddc59b7a0d10e4b1518c245f55862938b13cdc4 100644
(file)
--- a/
common/cmd_fdc.c
+++ b/
common/cmd_fdc.c
@@
-836,7
+836,7
@@
int do_fdcboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 1;
}
hdr = (image_header_t *)addr;
- if (!image_
get
_magic (hdr)) {
+ if (!image_
check
_magic (hdr)) {
printf ("Bad Magic Number\n");
return 1;
}