blob: fdb3086f477b6090aded9a3788558fc72a9b2f38 [file] [log] [blame]
Luigi 'Comio' Mantellini35afc062008-09-08 02:46:13 +02001The lib_lzma functionality was written by Igor Pavlov.
2The original source cames from the LZMA SDK web page:
3
4URL: http://www.7-zip.org/sdk.html
5Author: Igor Pavlov
6
7The import is made using the import_lzmasdk.sh script that:
8
9* untars the lzmaXYY.tar.bz2 file (from the download web page)
10* copies the files LzmaDecode.h, LzmaTypes.h, LzmaDecode.c, history.txt,
11 LGPL.txt, and lzma.txt from source archive into the lib_lzma directory (pwd).
12
13Example:
14
15 ./import_lzmasdk.sh ~/lzma457.tar.bz2
16
17Notice: The files from lzma sdk are not _modified_ by this script!
18
19The files LzmaTools.{c,h} are provided to export the lzmaBuffToBuffDecompress()
20function that wraps the complex LzmaDecode() function from the LZMA SDK. The
21do_bootm() function uses the lzmaBuffToBuffDecopress() function to expand the
22compressed image.
23
24The directory U-BOOT/include/lzma contains stubs files that permit to use the
25library directly from U-BOOT code without touching the original LZMA SDK's
26files.
27
28Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>