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

Michal Simek monstr at seznam.cz
Tue Feb 5 21:01:54 CET 2008


Hi Marian,

do you have git repository with your changes?
I would like to see what is changed from previous state.
I have some changes in my internal repository which modified
linux booting with using ramdisk too.

Regards,
Michal Simek


> 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