[U-Boot-Users] [PATCH 2/6] [new uImage] Removed dead ramdisk code on microblaze architecture

Marian Balakowicz m8 at semihalf.com
Fri Feb 1 13:00:26 CET 2008


Microblaze do_bootm_linux() includes ramdisk processing code but
the ramdisk does not get used anywhere later on.

Signed-off-by: Marian Balakowicz <m8 at semihalf.com>
---

 lib_microblaze/bootm.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)


diff --git a/lib_microblaze/bootm.c b/lib_microblaze/bootm.c
index 1f3e777..bccfbe1 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





More information about the U-Boot mailing list