projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fix disable_of booting
[oweals/u-boot.git]
/
common
/
cmd_nand.c
diff --git
a/common/cmd_nand.c
b/common/cmd_nand.c
index bb51d91fb3daec98ab7f08156f4d4a9650785f34..21adb1b47868a42d51f58bf80bf346754e9deb05 100644
(file)
--- a/
common/cmd_nand.c
+++ b/
common/cmd_nand.c
@@
-717,7
+717,7
@@
int do_nandboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
cnt = (ntohl(hdr->ih_size) + sizeof(image_header_t));
cnt -= SECTORSIZE;
} else {
- printf ("\n** Bad Magic Number 0x%x **\n",
hdr->ih_magic
);
+ printf ("\n** Bad Magic Number 0x%x **\n",
ntohl(hdr->ih_magic)
);
SHOW_BOOT_PROGRESS (-1);
return 1;
}