summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-02-27 11:01:04 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-02-27 11:01:04 +0100
commit8a5ea3e6168fe6a2780eeaf257a3b19f30dec658 (patch)
treeaa2ea4432bc432b7cb925302d1fa003b8083059a /include
parent823afe7cefe00dafefc6696c1cc7aa828c394234 (diff)
downloadu-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 'include')
-rw-r--r--include/image.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/image.h b/include/image.h
index 2f4b67d..1bc090a 100644
--- a/include/image.h
+++ b/include/image.h
@@ -202,6 +202,7 @@ typedef struct bootm_headers {
void *fit_hdr_fdt; /* FDT blob FIT image header */
char *fit_uname_fdt; /* FDT blob node unit name */
#endif
+ int verify; /* getenv("verify")[0] != 'n' */
#endif
} bootm_headers_t;
@@ -380,12 +381,8 @@ void image_print_contents (image_header_t *hdr);
int gen_image_get_format (void *img_addr);
ulong gen_get_image (ulong img_addr);
-image_header_t* image_get_ramdisk (cmd_tbl_t *cmdtp, int flag,
- int argc, char *argv[],
- ulong rd_addr, uint8_t arch, int verify);
-
void get_ramdisk (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
- bootm_headers_t *images, int verify, uint8_t arch,
+ bootm_headers_t *images, uint8_t arch,
ulong *rd_start, ulong *rd_end);
#if defined(CONFIG_PPC) || defined(CONFIG_M68K)