summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorLuigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>2009-07-21 10:45:49 +0200
committerWolfgang Denk <wd@denx.de>2009-07-22 09:43:27 +0200
commitcaf72ff329759b4da71352ab098537c7698c0e9f (patch)
tree90da2f5ff33a6fb194d83bea8a8ce4efd1f74e61 /common/cmd_bootm.c
parent70ebf31633f372a24505e47846b2628e8435ea37 (diff)
downloadu-boot-imx-caf72ff329759b4da71352ab098537c7698c0e9f.zip
u-boot-imx-caf72ff329759b4da71352ab098537c7698c0e9f.tar.gz
u-boot-imx-caf72ff329759b4da71352ab098537c7698c0e9f.tar.bz2
Refresh LZMA-lib to v4.65
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 367d5a7..5d5dd33 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -52,9 +52,8 @@
#endif
#ifdef CONFIG_LZMA
-#define _7ZIP_BYTE_DEFINED /* Byte already defined by zlib */
#include <lzma/LzmaTypes.h>
-#include <lzma/LzmaDecode.h>
+#include <lzma/LzmaDec.h>
#include <lzma/LzmaTools.h>
#endif /* CONFIG_LZMA */
@@ -390,7 +389,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_len);
- if (ret != LZMA_RESULT_OK) {
+ if (ret != SZ_OK) {
printf ("LZMA: uncompress or overwrite error %d "
"- must RESET board to recover\n", ret);
show_boot_progress (-6);