Merge branch 'devel' into for-linus
[sfrench/cifs-2.6.git] / usr / Kconfig
index fb9a6460f45d352afb9c4919948648c4bd756816..588c588791e288a836931aae27ffa694bbd0c99f 100644 (file)
@@ -64,31 +64,32 @@ config RD_BZIP2
          If unsure, say N.
 
 config RD_LZMA
-       bool "Support initial ramdisks compressed using lzma" if EMBEDDED
+       bool "Support initial ramdisks compressed using LZMA" if EMBEDDED
        default !EMBEDDED
        depends on BLK_DEV_INITRD
        select DECOMPRESS_LZMA
        help
-         Support loading of a lzma encoded initial ramdisk or cpio buffer
+         Support loading of a LZMA encoded initial ramdisk or cpio buffer
          If unsure, say N.
 
+if INITRAMFS_SOURCE!=""
+
 choice
        prompt "Built-in initramfs compression mode"
        help
-         This setting is only meaningful if the INITRAMFS_SOURCE is
-         set. It decides by which algorithm the INITRAMFS_SOURCE will
-         be compressed.
-         Several compression algorithms are available, which differ
-         in efficiency, compression and decompression speed.
-         Compression speed is only relevant when building a kernel.
-         Decompression speed is relevant at each boot.
-
-         If you have any problems with bzip2 or lzma compressed
+         This option decides by which algorithm the builtin initramfs
+         will be compressed.  Several compression algorithms are
+         available, which differ in efficiency, compression and
+         decompression speed.  Compression speed is only relevant
+         when building a kernel.  Decompression speed is relevant at
+         each boot.
+
+         If you have any problems with bzip2 or LZMA compressed
          initramfs, mail me (Alain Knaff) <alain@knaff.lu>.
 
-         High compression options are mostly useful for users who
-         are low on disk space (embedded systems), but for whom ram
-         size matters less.
+         High compression options are mostly useful for users who are
+         low on RAM, since it reduces the memory consumption during
+         boot.
 
          If in doubt, select 'gzip'
 
@@ -133,3 +134,14 @@ config INITRAMFS_COMPRESSION_LZMA
          smaller with LZMA in comparison to gzip.
 
 endchoice
+
+endif
+
+if INITRAMFS_SOURCE=""
+# The builtin initramfs is so small so we don't want to bug the user...
+
+config INITRAMFS_COMPRESSION_NONE
+       bool
+       default y
+
+endif