aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorChristian Ruppert <christian.ruppert@abilis.com>2013-11-12 18:11:43 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-12 22:09:35 -0500
commit69f0554ec261fd686ac7fa1c598cc9eb27b83a80 (patch)
tree4d3bec9af1f69197f152c08beb6ead75348914cf /init
parentbb67093796a41e0f2601f5c0022fd8873ed59fee (diff)
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: Christian Ruppert <christian.ruppert@abilis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index bc8911fab28e..5496f307988e 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -118,7 +118,6 @@ config HAVE_KERNEL_LZ4
118choice 118choice
119 prompt "Kernel compression mode" 119 prompt "Kernel compression mode"
120 default KERNEL_GZIP 120 default KERNEL_GZIP
121 depends on HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA || HAVE_KERNEL_XZ || HAVE_KERNEL_LZO || HAVE_KERNEL_LZ4
122 help 121 help
123 The linux kernel is a kind of self-extracting executable. 122 The linux kernel is a kind of self-extracting executable.
124 Several compression algorithms are available, which differ 123 Several compression algorithms are available, which differ
@@ -137,6 +136,13 @@ choice
137 136
138 If in doubt, select 'gzip' 137 If in doubt, select 'gzip'
139 138
139config KERNEL_UNCOMPRESSED
140 bool "No compression"
141 help
142 No compression at all. The kernel is huge but the compression and
143 decompression times are zero.
144 This is usually not what you want.
145
140config KERNEL_GZIP 146config KERNEL_GZIP
141 bool "Gzip" 147 bool "Gzip"
142 depends on HAVE_KERNEL_GZIP 148 depends on HAVE_KERNEL_GZIP