diff --git a/commands/bootm.c b/commands/bootm.c index a714910..aa1a6f5 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -374,7 +374,6 @@ 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 @@ 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;