Add LZO decompressor support
This patch adds LZO decompression support to U-Boot. It is needed for
the upcoming UBIFS support, since UBIFS uses LZO as default compressor/
decompressor. Since we only support read-only in UBIFS, only the
decompressor is needed.
All this is copied with minor changes from the current Linux kernel
version (2.6.28-rc8).
This patch only implements this LZO decompressor support for PPC.
Other platforms using UBIFS will have to add the required
"include/asm/unaligned.h" as well. It should be fairly easy to copy this
from the Linux source tree as I have done it for PPC in this patch.
Signed-off-by:
Stefan Roese <sr@denx.de>
Showing
- Makefile 1 addition, 0 deletionsMakefile
- include/asm-ppc/unaligned.h 16 additions, 0 deletionsinclude/asm-ppc/unaligned.h
- include/linux/lzo.h 44 additions, 0 deletionsinclude/linux/lzo.h
- include/linux/unaligned/access_ok.h 66 additions, 0 deletionsinclude/linux/unaligned/access_ok.h
- include/linux/unaligned/generic.h 71 additions, 0 deletionsinclude/linux/unaligned/generic.h
- lib_generic/lzo/Makefile 46 additions, 0 deletionslib_generic/lzo/Makefile
- lib_generic/lzo/lzo1x_decompress.c 245 additions, 0 deletionslib_generic/lzo/lzo1x_decompress.c
- lib_generic/lzo/lzodefs.h 43 additions, 0 deletionslib_generic/lzo/lzodefs.h
Loading
Please register or sign in to comment