diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-02-27 11:01:04 +0100 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-02-27 11:01:04 +0100 |
commit | 8a5ea3e6168fe6a2780eeaf257a3b19f30dec658 (patch) | |
tree | aa2ea4432bc432b7cb925302d1fa003b8083059a /lib_arm/bootm.c | |
parent | 823afe7cefe00dafefc6696c1cc7aa828c394234 (diff) | |
download | u-boot-imx-8a5ea3e6168fe6a2780eeaf257a3b19f30dec658.zip u-boot-imx-8a5ea3e6168fe6a2780eeaf257a3b19f30dec658.tar.gz u-boot-imx-8a5ea3e6168fe6a2780eeaf257a3b19f30dec658.tar.bz2 |
[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>
Diffstat (limited to 'lib_arm/bootm.c')
-rw-r--r-- | lib_arm/bootm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_arm/bootm.c b/lib_arm/bootm.c index 4849c8a..e1a9ee2 100644 --- a/lib_arm/bootm.c +++ b/lib_arm/bootm.c @@ -62,7 +62,7 @@ static struct tag *params; 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; @@ -95,7 +95,7 @@ void do_bootm_linux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], printf ("Using machid 0x%x from environment\n", machid); } - get_ramdisk (cmdtp, flag, argc, argv, images, verify, + get_ramdisk (cmdtp, flag, argc, argv, images, IH_ARCH_ARM, &initrd_start, &initrd_end); show_boot_progress (15); |