add lzop decompression support
Add lzop decompression support to the existing lzo bitstream handling
(think gzip versus zlib), and support it for uImage decompression if
CONFIG_LZO is enabled.
Lzop doesn't compress as good as gzip (~10% worse), but decompression
is very fast (~0.7s faster here on a slow ppc). The lzop decompression
code is based on Albin Tonnerre's recent ARM Linux lzo support patch.
Cc: albin.tonnerre@free-electrons.com
Signed-off-by:
Peter Korsgaard <jacmet@sunsite.dk>
Showing
- common/cmd_bootm.c 22 additions, 0 deletionscommon/cmd_bootm.c
- common/image.c 1 addition, 0 deletionscommon/image.c
- include/image.h 1 addition, 0 deletionsinclude/image.h
- include/linux/lzo.h 4 additions, 0 deletionsinclude/linux/lzo.h
- lib_generic/lzo/lzo1x_decompress.c 87 additions, 0 deletionslib_generic/lzo/lzo1x_decompress.c
Loading
Please register or sign in to comment