
6 Dec
2010
6 Dec
'10
6:44 p.m.
XZ (aka LZMA2) is the new version of lzma compression format. The following patch add a cut-down version of XZ Embedded library (v20100702) that supports only single-call API.
In order to enable XZ support, the CONFIG_XZ must be defined by board configuration file.
For any details, please refer to XZ Embedded homesite (http://tukaani.org/xz/embedded.html)
Signed-off-by: Luigi 'Comio' Mantellini luigi.mantellini@idf-hit.com
[SNIP]
+/*
- Use the internal CRC32 code instead of kernel's CRC32 module, which
- is not available in early phase of booting.
- */
+#define XZ_INTERNAL_CRC32 1
I really hope the text is misleading. Why use your own crc32 when u-boot has a pretty good one?
Jocke