lib: add support for LZ4-compressed kernel
authorKyungsik Lee <kyungsik.lee@lge.com>
Mon, 8 Jul 2013 23:01:46 +0000 (16:01 -0700)
committerSri Krishna chowdary <schowdary@nvidia.com>
Tue, 2 Dec 2014 05:43:28 +0000 (10:43 +0530)
commitf8e308966cb96eef8dd44c081bfb960b870598ac
tree50011d9245d16d270b8d33144a51bff270adc500
parent55df16a51e318458209484f067cbd3ec2b5dc72a
lib: add support for LZ4-compressed kernel

Add support for extracting LZ4-compressed kernel images, as well as
LZ4-compressed ramdisk images in the kernel boot process.

Bug 200057240

Signed-off-by: Kyungsik Lee <kyungsik.lee@lge.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Yann Collet <yann.collet.73@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Change-Id: Ifce3979631a5b16589d269676ae72e801daf0495
(cherry picked from commit e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
include/linux/decompress/unlz4.h [new file with mode: 0644]
init/Kconfig
lib/Kconfig
lib/Makefile
lib/decompress.c
lib/decompress_unlz4.c [new file with mode: 0644]
lib/lz4/Makefile [new file with mode: 0644]
lib/lz4/lz4_decompress.c
scripts/Makefile.lib
usr/Kconfig