diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-02-27 21:51:48 -0600 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-02-29 13:15:56 +0100 |
commit | f5614e7926863bf0225ec860d9b319741a9c4004 (patch) | |
tree | 7e8a128eb6e56227c967e9244531c8eb1efcaf6a /common/cmd_bootm.c | |
parent | 4ed6552f715983bfc7d212c1199a1f796f1144ad (diff) | |
download | u-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 'common/cmd_bootm.c')
-rw-r--r-- | common/cmd_bootm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 92c18d0..92c2f4e 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -123,6 +123,7 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) memset ((void *)&images, 0, sizeof (images)); images.verify = getenv_verify(); + images.autostart = getenv_autostart(); images.lmb = &lmb; lmb_init(&lmb); |