summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-06-20 10:17:34 +0000
committerwdenk <wdenk>2005-06-20 10:17:34 +0000
commitb2532eff87c73b11212dd63403ee9ae18c56b53a (patch)
treea8d4e73a7415b25817cde313d33632acabd74b93 /common/cmd_bootm.c
parenta87589da74b84031a3db4ddd2e835e1893a90f3b (diff)
downloadu-boot-imx-b2532eff87c73b11212dd63403ee9ae18c56b53a.zip
u-boot-imx-b2532eff87c73b11212dd63403ee9ae18c56b53a.tar.gz
u-boot-imx-b2532eff87c73b11212dd63403ee9ae18c56b53a.tar.bz2
* Patch by Travis Sawyer, 10 Jun 2005:
Initialize allocated dev and private hw structures after their respective allocation in 440gx_enet.c * Patch by Steven Scholz, 10 Jun 2005: Fix byteorder problems with second argument of "bootm" with standalone images;
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index cdb0c19..a90735f 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -261,7 +261,7 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
name = "Standalone Application";
/* A second argument overwrites the load address */
if (argc > 2) {
- hdr->ih_load = simple_strtoul(argv[2], NULL, 16);
+ hdr->ih_load = htonl(simple_strtoul(argv[2], NULL, 16));
}
break;
case IH_TYPE_KERNEL: