diff options
| author | Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> | 2008-09-13 10:04:32 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-10-13 14:46:15 +0200 | 
| commit | d977a57356657ba241256231efca32828a5822f9 (patch) | |
| tree | 1791bf469734236935930c50f4d2937dc4948078 /common/cmd_bootm.c | |
| parent | b3ed233198c5ac54aa83dd51f05fcb44ee75f42b (diff) | |
| download | olio-uboot-2014.01-d977a57356657ba241256231efca32828a5822f9.tar.xz olio-uboot-2014.01-d977a57356657ba241256231efca32828a5822f9.zip | |
Fix lzma uncompress call (image_start wrongly used instead image_len)
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
Diffstat (limited to 'common/cmd_bootm.c')
| -rw-r--r-- | 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 19257bbd4..897e9f6f4 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);  		if (ret != LZMA_RESULT_OK) {  			printf ("LZMA: uncompress or overwrite error %d "  				"- must RESET board to recover\n", ret); |