]> git.dujemihanovic.xyz Git - u-boot.git/commit
Add LZO decompressor support
authorStefan Roese <sr@denx.de>
Thu, 19 Mar 2009 14:34:56 +0000 (15:34 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 20 Mar 2009 21:39:15 +0000 (22:39 +0100)
commitb1b4e89a0f3b75854c39a62cae41bad56d210adf
tree460e7663f9d619596f29768e7296872e6dcf3001
parent68d7d65100e84df00bca971c114092731b441090
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>
Makefile
include/asm-ppc/unaligned.h [new file with mode: 0644]
include/linux/lzo.h [new file with mode: 0644]
include/linux/unaligned/access_ok.h [new file with mode: 0644]
include/linux/unaligned/generic.h [new file with mode: 0644]
lib_generic/lzo/Makefile [new file with mode: 0644]
lib_generic/lzo/lzo1x_decompress.c [new file with mode: 0644]
lib_generic/lzo/lzodefs.h [new file with mode: 0644]