summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/Makefile
diff options
context:
space:
mode:
authorYouling Tang <tangyouling@loongson.cn>2023-02-25 15:52:56 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-02-25 22:12:17 +0800
commit3f89765d6227fe4645a91e062332b6b4eb24072c (patch)
tree2f89ff871f709ffe305fa145d085f931ca13405d /arch/loongarch/Makefile
parente5f02b51fa0cb785e352e77271a65e96051b789b (diff)
downloadlinux-stable-3f89765d6227fe4645a91e062332b6b4eb24072c.tar.gz
linux-stable-3f89765d6227fe4645a91e062332b6b4eb24072c.tar.bz2
linux-stable-3f89765d6227fe4645a91e062332b6b4eb24072c.zip
LoongArch: kdump: Add single kernel image implementation
This feature depends on the kernel being relocatable. Enable using single kernel image for kdump, and then no longer need to build two kernels (production kernel and capture kernel share a single kernel image). Also enable CONFIG_CRASH_DUMP in loongson3_defconfig. Signed-off-by: Youling Tang <tangyouling@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/Makefile')
-rw-r--r--arch/loongarch/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/loongarch/Makefile b/arch/loongarch/Makefile
index 768592998b39..f71edf574101 100644
--- a/arch/loongarch/Makefile
+++ b/arch/loongarch/Makefile
@@ -79,11 +79,7 @@ endif
cflags-y += -ffreestanding
cflags-y += $(call cc-option, -mno-check-zero-division)
-ifndef CONFIG_PHYSICAL_START
load-y = 0x9000000000200000
-else
-load-y = $(CONFIG_PHYSICAL_START)
-endif
bootvars-y = VMLINUX_LOAD_ADDRESS=$(load-y)
drivers-$(CONFIG_PCI) += arch/loongarch/pci/