[new uImage] Move image verify flag to bootm_headers structure
Do not pass image verification flag directly to related routines. Simplify argument passing and move it to the bootm_header structure which contains curently processed image specific data and is already being passed on the argument list. Signed-off-by: Marian Balakowicz <m8@semihalf.com> Acked-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
@@ -46,7 +46,7 @@ static void linux_env_set (char * env_name, char * env_val);
|
||||
extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
|
||||
|
||||
void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
|
||||
bootm_headers_t *images, int verify)
|
||||
bootm_headers_t *images)
|
||||
{
|
||||
ulong initrd_start, initrd_end;
|
||||
ulong ep = 0;
|
||||
@@ -68,7 +68,7 @@ void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
|
||||
}
|
||||
theKernel = (void (*)(int, char **, char **, int *))ep;
|
||||
|
||||
get_ramdisk (cmdtp, flag, argc, argv, images, verify,
|
||||
get_ramdisk (cmdtp, flag, argc, argv, images,
|
||||
IH_ARCH_MIPS, &initrd_start, &initrd_end);
|
||||
|
||||
show_boot_progress (15);
|
||||
|
||||
Reference in New Issue
Block a user