]> git.sur5r.net Git - u-boot/blobdiff - lib_nios2/bootm.c
[new uImage] Respect autostart setting in linux bootm
[u-boot] / lib_nios2 / bootm.c
index 70d2bb07696fdf00baeee40f5f3b3288d3b5d3f9..4b940cb6195108b0ccfb6b379d7044d859680018 100644 (file)
@@ -46,6 +46,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 ;
+
        /* For now we assume the Microtronix linux ... which only
         * needs to be called ;-)
         */