From 68d4f05e6b2383a442fb71f80f2a9fbb3d8def68 Mon Sep 17 00:00:00 2001
From: Marian Balakowicz <m8@semihalf.com>
Date: Thu, 31 Jan 2008 13:55:53 +0100
Subject: [PATCH] [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 <m8@semihalf.com>
---
 lib_microblaze/bootm.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib_microblaze/bootm.c b/lib_microblaze/bootm.c
index 1f3e77707ac..bccfbe14570 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
-- 
GitLab