[new uImage] Respect autostart setting in linux bootm

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Marian Balakowicz <m8@semihalf.com>
This commit is contained in:
Kumar Gala
2008-02-27 21:51:51 -06:00
committed by Marian Balakowicz
parent d3f2fa0d27
commit 75fa002c47
10 changed files with 32 additions and 2 deletions

View File

@@ -127,6 +127,8 @@ void do_bootm_linux(cmd_tbl_t * cmdtp, int flag,
show_boot_progress (15);
if (!images->autostart)
return;
/*
* Linux Kernel Parameters (passing board info data):
* r3: ptr to board info data
@@ -140,7 +142,8 @@ void do_bootm_linux(cmd_tbl_t * cmdtp, int flag,
return ;
error:
do_reset (cmdtp, flag, argc, argv);
if (images->autostart)
do_reset (cmdtp, flag, argc, argv);
return ;
}