diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-08-20 11:37:58 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-08-20 11:37:58 +0200 |
commit | 949649e3f10bb4f8789522cb34c928657901d4de (patch) | |
tree | 3d7f7bcdc0961f32d20504888f421f4a21532784 | |
parent | 2f3211bc2521c2bf050fc26fb78eb2bfd8929329 (diff) | |
download | barebox-949649e3f10bb4f8789522cb34c928657901d4de.tar.gz barebox-949649e3f10bb4f8789522cb34c928657901d4de.tar.xz |
bootm: honour the -n flag again
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | commands/bootm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/bootm.c b/commands/bootm.c index a714910315..aa1a6f5f33 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -374,7 +374,6 @@ static int handler_parse_options(struct image_data *data, int opt, char *optarg) static int do_bootm (cmd_tbl_t *cmdtp, int argc, char *argv[]) { ulong iflag; - int verify = 1; int opt; image_header_t *os_header; struct image_handle *os_handle, *initrd_handle = NULL; @@ -420,7 +419,7 @@ static int do_bootm (cmd_tbl_t *cmdtp, int argc, char *argv[]) return 1; } - os_handle = map_image(argv[optind], verify); + os_handle = map_image(argv[optind], data.verify); if (!os_handle) return 1; data.os = os_handle; |