]> git.sur5r.net Git - u-boot/commitdiff
cmd_bootm.c: Change interpretation of standalone image parameters.
authorDetlev Zundel <dzu@denx.de>
Tue, 22 Dec 2009 11:43:02 +0000 (12:43 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 17 Jan 2010 23:26:36 +0000 (00:26 +0100)
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>
common/cmd_bootm.c

index dc993d540872c4043ac04540d4b5590e88e10043..05feb39464952f54734211b71bed457882629ad2 100644 (file)
@@ -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;