Merge branch 'xip_zdata' of http://git.linaro.org/people/nicolas.pitre/linux into...
[sfrench/cifs-2.6.git] / arch / arm / Kconfig
index 7888c9803eb00b3ad1d166923182d5d1f4294bda..1dba9c0d63d538a89ccafdf685837cd55224bd63 100644 (file)
@@ -2005,6 +2005,17 @@ config XIP_PHYS_ADDR
          be linked for and stored to.  This address is dependent on your
          own flash usage.
 
+config XIP_DEFLATED_DATA
+       bool "Store kernel .data section compressed in ROM"
+       depends on XIP_KERNEL
+       select ZLIB_INFLATE
+       help
+         Before the kernel is actually executed, its .data section has to be
+         copied to RAM from ROM. This option allows for storing that data
+         in compressed form and decompressed to RAM rather than merely being
+         copied, saving some precious ROM space. A possible drawback is a
+         slightly longer boot delay.
+
 config KEXEC
        bool "Kexec system call (EXPERIMENTAL)"
        depends on (!SMP || PM_SLEEP_SMP)