提交 69f0554e 编写于 作者: C Christian Ruppert 提交者: Linus Torvalds

init/Kconfig: add option to disable kernel compression

Some ARC users say they can boot faster with without kernel compression.
This probably depends on things like the FLASH chip they use etc.

Until now, kernel compression can only be disabled by removing "select
HAVE_<compression>" lines from the architecture Kconfig.  So add the
Kconfig logic to permit disabling of kernel compression.
Signed-off-by: NChristian Ruppert <christian.ruppert@abilis.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 bb670937
...@@ -118,7 +118,6 @@ config HAVE_KERNEL_LZ4 ...@@ -118,7 +118,6 @@ config HAVE_KERNEL_LZ4
choice choice
prompt "Kernel compression mode" prompt "Kernel compression mode"
default KERNEL_GZIP default KERNEL_GZIP
depends on HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA || HAVE_KERNEL_XZ || HAVE_KERNEL_LZO || HAVE_KERNEL_LZ4
help help
The linux kernel is a kind of self-extracting executable. The linux kernel is a kind of self-extracting executable.
Several compression algorithms are available, which differ Several compression algorithms are available, which differ
...@@ -137,6 +136,13 @@ choice ...@@ -137,6 +136,13 @@ choice
If in doubt, select 'gzip' If in doubt, select 'gzip'
config KERNEL_UNCOMPRESSED
bool "No compression"
help
No compression at all. The kernel is huge but the compression and
decompression times are zero.
This is usually not what you want.
config KERNEL_GZIP config KERNEL_GZIP
bool "Gzip" bool "Gzip"
depends on HAVE_KERNEL_GZIP depends on HAVE_KERNEL_GZIP
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册