]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
[new uImage] Removed dead ramdisk code on microblaze architectures
authorMarian Balakowicz <m8@semihalf.com>
Thu, 31 Jan 2008 12:55:53 +0000 (13:55 +0100)
committerWolfgang Denk <wd@denx.de>
Thu, 7 Feb 2008 00:12:59 +0000 (01:12 +0100)
Microblaze do_bootm_linux() includes ramdisk processing code but
the ramdisk does not get used anywhere later on.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
lib_microblaze/bootm.c

index 1f3e77707ac45ff5c6efd8df447ef5c60cc0af1d..bccfbe14570e34d5a5523421a8d5bbdc3786f031 100644 (file)
@@ -35,17 +35,12 @@ DECLARE_GLOBAL_DATA_PTR;
 void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
                     image_header_t *hdr, int verify)
 {
-       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);
 
-       get_ramdisk (cmdtp, flag, argc, argv, hdr, verify,
-                       IH_ARCH_MICROBLAZE, &initrd_start, &initrd_end);
-
        show_boot_progress (15);
 
 #ifdef DEBUG