diff options
author | Kyungsik Lee <kyungsik.lee@lge.com> | 2013-07-08 16:01:46 -0700 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-01-05 18:21:50 +0100 |
commit | 87dbae66ce673c887ca44a8674e181499c676fe6 (patch) | |
tree | 6438b29f078062dc31bc70513f1580818bf4d6ad /usr | |
parent | 94980c4d780dcaf504156a94b27584fe68346cbe (diff) | |
download | kernel_samsung_tuna-87dbae66ce673c887ca44a8674e181499c676fe6.zip kernel_samsung_tuna-87dbae66ce673c887ca44a8674e181499c676fe6.tar.gz kernel_samsung_tuna-87dbae66ce673c887ca44a8674e181499c676fe6.tar.bz2 |
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.
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>
Conflicts:
scripts/Makefile.lib
Change-Id: I2ad2607d9edf0f41c7e7a621f1da72174b142e2d
Diffstat (limited to 'usr')
-rw-r--r-- | usr/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/Kconfig b/usr/Kconfig index 65b845b..16ffe99 100644 --- a/usr/Kconfig +++ b/usr/Kconfig @@ -90,6 +90,15 @@ config RD_LZO Support loading of a LZO encoded initial ramdisk or cpio buffer If unsure, say N. +config RD_LZ4 + bool "Support initial ramdisks compressed using LZ4" if EXPERT + default !EXPERT + depends on BLK_DEV_INITRD + select DECOMPRESS_LZ4 + help + Support loading of a LZ4 encoded initial ramdisk or cpio buffer + If unsure, say N. + choice prompt "Built-in initramfs compression mode" if INITRAMFS_SOURCE!="" help |