mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Russell King <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Yann Collet <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
cffb78b0e0
commit
e76e1fdfa8
10 changed files with 243 additions and 2 deletions
|
|
@ -194,6 +194,9 @@ config LZO_COMPRESS
|
|||
config LZO_DECOMPRESS
|
||||
tristate
|
||||
|
||||
config LZ4_DECOMPRESS
|
||||
tristate
|
||||
|
||||
source "lib/xz/Kconfig"
|
||||
|
||||
#
|
||||
|
|
@ -218,6 +221,10 @@ config DECOMPRESS_LZO
|
|||
select LZO_DECOMPRESS
|
||||
tristate
|
||||
|
||||
config DECOMPRESS_LZ4
|
||||
select LZ4_DECOMPRESS
|
||||
tristate
|
||||
|
||||
#
|
||||
# Generic allocator support is selected if needed
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue