aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorKyungsik Lee <kyungsik.lee@lge.com>2013-07-08 19:01:46 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 13:33:30 -0400
commite76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 (patch)
treed216233bcf256a8a3d8912cebbbf82032bb7b715 /usr
parentcffb78b0e0b3a30b059b27a1d97500cf6464efa9 (diff)
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>
Diffstat (limited to 'usr')
-rw-r--r--usr/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/Kconfig b/usr/Kconfig
index 085872bb2bb5..642f503d3e9f 100644
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -90,6 +90,15 @@ config RD_LZO
90 Support loading of a LZO encoded initial ramdisk or cpio buffer 90 Support loading of a LZO encoded initial ramdisk or cpio buffer
91 If unsure, say N. 91 If unsure, say N.
92 92
93config RD_LZ4
94 bool "Support initial ramdisks compressed using LZ4" if EXPERT
95 default !EXPERT
96 depends on BLK_DEV_INITRD
97 select DECOMPRESS_LZ4
98 help
99 Support loading of a LZ4 encoded initial ramdisk or cpio buffer
100 If unsure, say N.
101
93choice 102choice
94 prompt "Built-in initramfs compression mode" if INITRAMFS_SOURCE!="" 103 prompt "Built-in initramfs compression mode" if INITRAMFS_SOURCE!=""
95 help 104 help