aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/compressed/Makefile
diff options
context:
space:
mode:
authorGravatar Russell King <rmk+kernel@armlinux.org.uk> 2018-04-03 12:02:28 +0100
committerGravatar Russell King <rmk+kernel@armlinux.org.uk> 2020-09-15 14:36:25 +0100
commit83dfeedb6663ea8cdf93f41191ef313de5b7a2ba (patch)
tree52f2b04528168a95d55f2712bfa6a82f3bd552a5 /arch/arm/boot/compressed/Makefile
parentARM: 9007/1: l2c: fix prefetch bits init in L2X0_AUX_CTRL using DT values (diff)
downloadlinux-83dfeedb6663ea8cdf93f41191ef313de5b7a2ba.tar.gz
linux-83dfeedb6663ea8cdf93f41191ef313de5b7a2ba.tar.bz2
linux-83dfeedb6663ea8cdf93f41191ef313de5b7a2ba.zip
ARM: add TEXT_OFFSET to decompressor kexec image structure
Add the TEXT_OFFSET to the decompressor's kexec image structure to kexec knows what offset to use. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/boot/compressed/Makefile')
-rw-r--r--arch/arm/boot/compressed/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index 77799e5780c2..dacadab2ff17 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -70,6 +70,7 @@ ZBSSADDR := ALIGN(8)
endif
CPPFLAGS_vmlinux.lds := -DTEXT_START="$(ZTEXTADDR)" -DBSS_START="$(ZBSSADDR)"
+CPPFLAGS_vmlinux.lds += -DTEXT_OFFSET="$(TEXT_OFFSET)"
compress-$(CONFIG_KERNEL_GZIP) = gzip
compress-$(CONFIG_KERNEL_LZO) = lzo