> Fax:   +39 02 5167 2459
> Email: [EMAIL PROTECTED]
> 

> From 565ecc8ff0a21a9a9f3381c0bfaea629598b7c00 Mon Sep 17 00:00:00 2001
> From: Luigi 'Comio' Mantellini <[EMAIL PROTECTED]>
> Date: Sat, 13 Sep 2008 10:04:32 +0200
> Subject: [PATCH] Fix lzma uncompress call (image_start wrongly used instead 
> image_len)
> 
> ---
>  common/cmd_bootm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
> index 19257bb..897e9f6 100644
> --- a/common/cmd_bootm.c
> +++ b/common/cmd_bootm.c
> @@ -347,7 +347,7 @@ static int bootm_load_os(image_info_t os, ulong 
> *load_end, int boot_progress)
>  
>               int ret = lzmaBuffToBuffDecompress(
>                       (unsigned char *)load, &unc_len,
> -                     (unsigned char *)image_start, image_start);
> +                     (unsigned char *)image_start, image_len);
It's work without this too

Best Regards,
J.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to