summaryrefslogtreecommitdiff
path: root/lib_mips/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_mips/bootm.c')
-rw-r--r--lib_mips/bootm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_mips/bootm.c b/lib_mips/bootm.c
index 998aa22..39869c1 100644
--- a/lib_mips/bootm.c
+++ b/lib_mips/bootm.c
@@ -106,6 +106,9 @@ void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
sprintf (env_buf, "0x%X", (uint) (gd->bd->bi_flashsize));
linux_env_set ("flash_size", env_buf);
+ if (!images->autostart)
+ return ;
+
/* we assume that the kernel is in place */
printf ("\nStarting kernel ...\n\n");