]> git.sur5r.net Git - u-boot/blobdiff - lib_sh/bootm.c
[new uImage] Respect autostart setting in linux bootm
[u-boot] / lib_sh / bootm.c
index de5c9eaf389ce6898b910183aaa878899b61eb55..8055841d2fcda9f5fd6c8bd0962c184438a70bdd 100644 (file)
@@ -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);