diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-09-28 12:15:14 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-09-28 12:15:37 +0200 |
commit | 476242482bdee72b30f188c2e025f0fa5df0208c (patch) | |
tree | 0e2764025f6909c09df99ad3b92728e74b83dfb3 /arch/arm/Kconfig | |
parent | Linux 4.14-rc1 (diff) | |
parent | ARM: XIP kernel: store .data compressed in ROM (diff) | |
download | linux-476242482bdee72b30f188c2e025f0fa5df0208c.tar.xz linux-476242482bdee72b30f188c2e025f0fa5df0208c.zip |
Merge branch 'xip_zdata' of http://git.linaro.org/people/nicolas.pitre/linux into devel-testing
This contains important fixes to the XIP linker script, some more linker
script cleanups, .bss clearing and .data copying speedups related to the
above, and an opt-in config option for XIP kernels that allows for
compressing .data in ROM that depend on those other patches to work
properly.
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7888c9803eb0..1dba9c0d63d5 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -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) |