From: Marian Balakowicz Date: Thu, 31 Jan 2008 12:55:53 +0000 (+0100) Subject: [new uImage] Removed dead ramdisk code on microblaze architectures X-Git-Tag: v1.3.3-rc1~141^2^2~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=68d4f05e6b2383a442fb71f80f2a9fbb3d8def68;p=u-boot [new uImage] Removed dead ramdisk code on microblaze architectures Microblaze do_bootm_linux() includes ramdisk processing code but the ramdisk does not get used anywhere later on. Signed-off-by: Marian Balakowicz --- diff --git a/lib_microblaze/bootm.c b/lib_microblaze/bootm.c index 1f3e77707a..bccfbe1457 100644 --- a/lib_microblaze/bootm.c +++ b/lib_microblaze/bootm.c @@ -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