]> Git Repo - J-u-boot.git/blobdiff - lib_blackfin/bootm.c
bootm: Add subcommands
[J-u-boot.git] / lib_blackfin / bootm.c
index 9938ae5865adc4f040e74b6094fce1ba808ef4e6..195eb9c009782500cd542ddcc9ea833d2205ba6a 100644 (file)
@@ -36,6 +36,9 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
        int     (*appl) (char *cmdline);
        char    *cmdline;
 
+       if ((flag != 0) && (flag != BOOTM_STATE_OS_GO))
+               return 1;
+
 #ifdef SHARED_RESOURCES
        swap_to(FLASH);
 #endif
This page took 0.02453 seconds and 4 git commands to generate.