diff options
author | Detlev Zundel <dzu@denx.de> | 2009-12-22 12:43:02 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-01-18 00:26:36 +0100 |
commit | c3d7eec6d88945dec0626cdd4f4a35cb5f83ef00 (patch) | |
tree | ff864696edbc959ce96b37f949a91e63cfd4defb /common/cmd_bootm.c | |
parent | 8b828a8f44b7ee9953c7ba63e64b1e80790139b3 (diff) | |
download | u-boot-imx-c3d7eec6d88945dec0626cdd4f4a35cb5f83ef00.zip u-boot-imx-c3d7eec6d88945dec0626cdd4f4a35cb5f83ef00.tar.gz u-boot-imx-c3d7eec6d88945dec0626cdd4f4a35cb5f83ef00.tar.bz2 |
cmd_bootm.c: Change interpretation of standalone image parameters.
Current code uses the second argument to bootm for standalone images to
override the load address specified in the image instead of passing all
parameters as is to the application. This behaviour is not documented
and not in line with how the go command works for standalone applications,
so we simply drop it.
Signed-off-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r-- | common/cmd_bootm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index dc993d5..05feb39 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -885,9 +885,6 @@ static void *boot_get_kernel (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[] image_multi_getimg (hdr, 0, os_data, os_len); break; case IH_TYPE_STANDALONE: - if (argc >2) { - hdr->ih_load = htonl(simple_strtoul(argv[2], NULL, 16)); - } *os_data = image_get_data (hdr); *os_len = image_get_data_size (hdr); break; |