[U-Boot] [PATCH] add lzop decompression support

Peter Korsgaard jacmet at sunsite.dk
Fri Nov 27 10:06:12 CET 2009


>>>>> "Peter" == Peter Korsgaard <jacmet at sunsite.dk> writes:

 Peter> Add lzop decompression support to the existing lzo bitstream handling
 Peter> (think gzip versus zlib), and support it for uImage decompression if
 Peter> CONFIG_LZO is enabled.

Comments?

 Peter> Lzop doesn't compress as good as gzip (~10% worse), but decompression
 Peter> is very fast (~0.7s faster here on a slow ppc). The lzop decompression
 Peter> code is based on Albin Tonnerre's recent ARM Linux lzo support patch.

 Peter> Cc: albin.tonnerre at free-electrons.com
 Peter> Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
 Peter> ---
 Peter>  common/cmd_bootm.c                 |   22 +++++++++
 Peter>  common/image.c                     |    1 +
 Peter>  include/image.h                    |    1 +
 Peter>  include/linux/lzo.h                |    4 ++
 Peter>  lib_generic/lzo/lzo1x_decompress.c |   87 ++++++++++++++++++++++++++++++++++++
 Peter>  5 files changed, 115 insertions(+), 0 deletions(-)

-- 
Bye, Peter Korsgaard


More information about the U-Boot mailing list