summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-02-27 21:51:48 -0600
committerMarian Balakowicz <m8@semihalf.com>2008-02-29 13:15:56 +0100
commitf5614e7926863bf0225ec860d9b319741a9c4004 (patch)
tree7e8a128eb6e56227c967e9244531c8eb1efcaf6a /include/image.h
parent4ed6552f715983bfc7d212c1199a1f796f1144ad (diff)
downloadu-boot-imx-f5614e7926863bf0225ec860d9b319741a9c4004.zip
u-boot-imx-f5614e7926863bf0225ec860d9b319741a9c4004.tar.gz
u-boot-imx-f5614e7926863bf0225ec860d9b319741a9c4004.tar.bz2
[new uImage] Add autostart flag to bootm_headers structure
The autostart env variable was dropped as part of the initial new uImage cleanup. Add it back here so the arch specific code can decide if it wants to really boot or not. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index cb4acd8..5ce2ca4 100644
--- a/include/image.h
+++ b/include/image.h
@@ -204,6 +204,7 @@ typedef struct bootm_headers {
char *fit_uname_fdt; /* FDT blob node unit name */
#endif
int verify; /* getenv("verify")[0] != 'n' */
+ int autostart; /* getenv("autostart")[0] != 'n' */
struct lmb *lmb; /* for memory mgmt */
#endif
} bootm_headers_t;
@@ -314,6 +315,7 @@ int image_check_dcrc (image_header_t *hdr);
#ifndef USE_HOSTCC
int image_check_dcrc_wd (image_header_t *hdr, ulong chunksize);
int getenv_verify (void);
+int getenv_autostart (void);
void memmove_wd (void *to, void *from, size_t len, ulong chunksz);
#endif