summaryrefslogtreecommitdiff
path: root/common/cmd_fdc.c
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-02-21 17:27:49 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-02-21 17:27:49 +0100
commit5583cbf736474ef754e128a54fb78632f57b48fd (patch)
tree7b2a426879b263c716401b3499f1a43fc647057b /common/cmd_fdc.c
parent2242f5369822bc7780db95c47985bb408ea9157b (diff)
downloadu-boot-5583cbf736474ef754e128a54fb78632f57b48fd.tar.gz
u-boot-5583cbf736474ef754e128a54fb78632f57b48fd.tar.bz2
u-boot-5583cbf736474ef754e128a54fb78632f57b48fd.zip
[new uImage] Fix erroneous use of image_get_magic() in fdc/usb cmds
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'common/cmd_fdc.c')
-rw-r--r--common/cmd_fdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fdc.c b/common/cmd_fdc.c
index c97abfb58e..9ddc59b7a0 100644
--- 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;
}