[U-Boot] [PATCH 1/2] Add support for XZ decompression algorithm.

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Dec 6 18:44:46 CET 2010


>
> 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 at 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



More information about the U-Boot mailing list