]> git.sur5r.net Git - u-boot/blobdiff - lib_microblaze/bootm.c
bootm: Add subcommands
[u-boot] / lib_microblaze / bootm.c
index 52fe068e03bbda3397610c0c7bf660d68a906122..e97aae6881e39880079643d23f12bbed760d378c 100644 (file)
@@ -38,6 +38,9 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
        void    (*theKernel) (char *);
        char    *commandline = getenv ("bootargs");
 
+       if ((flag != 0) && (flag != BOOTM_STATE_OS_GO))
+               return 1;
+
        theKernel = (void (*)(char *))images->ep;
 
        show_boot_progress (15);