powerpc: fix pci window initialization to work with > 4GB DRAM
[platform/kernel/u-boot.git] / lib_microblaze / bootm.c
index 1f3e777..52fe068 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
-                    image_header_t *hdr, int verify)
+int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
 {
-       ulong initrd_start, initrd_end;
-
        /* First parameter is mapped to $r5 for kernel boot args */
-       void (*theKernel) (char *);
-       char *commandline = getenv ("bootargs");
-
-       theKernel = (void (*)(char *))image_get_ep (hdr);
+       void    (*theKernel) (char *);
+       char    *commandline = getenv ("bootargs");
 
-       get_ramdisk (cmdtp, flag, argc, argv, hdr, verify,
-                       IH_ARCH_MICROBLAZE, &initrd_start, &initrd_end);
+       theKernel = (void (*)(char *))images->ep;
 
        show_boot_progress (15);
 
@@ -54,4 +48,7 @@ void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
 #endif
 
        theKernel (commandline);
+       /* does not return */
+
+       return 1;
 }