projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ed233
)
Fix lzma uncompress call (image_start wrongly used instead image_len)
author
Luigi 'Comio' Mantellini
<luigi.mantellini@idf-hit.com>
Sat, 13 Sep 2008 08:04:32 +0000
(10:04 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 13 Oct 2008 12:46:15 +0000
(14:46 +0200)
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
common/cmd_bootm.c
patch
|
blob
|
history
diff --git
a/common/cmd_bootm.c
b/common/cmd_bootm.c
index
19257bb
..
897e9f6
100644
(file)
--- 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);