summaryrefslogtreecommitdiff
path: root/lib_sh/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_sh/bootm.c')
-rw-r--r--lib_sh/bootm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_sh/bootm.c b/lib_sh/bootm.c
index de5c9eaf3..8055841d2 100644
--- a/lib_sh/bootm.c
+++ b/lib_sh/bootm.c
@@ -79,6 +79,9 @@ void do_bootm_linux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
}
void (*kernel) (void) = (void (*)(void))ep;
+ if (!images->autostart)
+ return ;
+
/* Setup parameters */
memset(PARAM, 0, 0x1000); /* Clear zero page */
strcpy(COMMAND_LINE, bootargs);