diff options
author | Marian Balakowicz | 2008-02-27 11:01:04 +0100 |
---|---|---|
committer | Marian Balakowicz | 2008-02-27 11:01:04 +0100 |
commit | 8a5ea3e6168fe6a2780eeaf257a3b19f30dec658 (patch) | |
tree | aa2ea4432bc432b7cb925302d1fa003b8083059a /lib_ppc/bootm.c | |
parent | 823afe7cefe00dafefc6696c1cc7aa828c394234 (diff) |
[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_ppc/bootm.c')
-rw-r--r-- | lib_ppc/bootm.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index d5e019e3a4c..319d4ba4118 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -59,10 +59,8 @@ static ulong get_sp (void); static void set_clocks_in_mhz (bd_t *kbd); void __attribute__((noinline)) -do_bootm_linux(cmd_tbl_t *cmdtp, int flag, - int argc, char *argv[], - bootm_headers_t *images, - int verify) +do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], + bootm_headers_t *images) { ulong sp, sp_limit, alloc_current; @@ -116,7 +114,7 @@ do_bootm_linux(cmd_tbl_t *cmdtp, int flag, kernel = (void (*)(bd_t *, ulong, ulong, ulong, ulong))ep; /* find ramdisk */ - get_ramdisk (cmdtp, flag, argc, argv, images, verify, + get_ramdisk (cmdtp, flag, argc, argv, images, IH_ARCH_PPC, &rd_data_start, &rd_data_end); rd_len = rd_data_end - rd_data_start; |