]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_microblaze/bootm.c
fsl-ddr: Fix the turnaround timing for TIMING_CFG_4
[karo-tx-uboot.git] / lib_microblaze / bootm.c
index 52fe068e03bbda3397610c0c7bf660d68a906122..bce4774fe37502aa9e47d413072efc820055d3d8 100644 (file)
@@ -27,7 +27,7 @@
 #include <common.h>
 #include <command.h>
 #include <image.h>
-#include <zlib.h>
+#include <u-boot/zlib.h>
 #include <asm/byteorder.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -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);