aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/generic/Makefile
diff options
context:
space:
mode:
authorDengcheng Zhu <dzhu@wavecomp.com>2018-09-11 14:49:24 -0700
committerPaul Burton <paul.burton@mips.com>2018-09-22 10:32:34 -0700
commit2fe8ea39c9a8489799cf86bb377fc80492b5b3bf (patch)
treea43f02b1275771b5cf99d1f1d784392e118bf069 /arch/mips/generic/Makefile
parentMIPS: kexec: Relax memory restriction (diff)
downloadlinux-dev-2fe8ea39c9a8489799cf86bb377fc80492b5b3bf.tar.xz
linux-dev-2fe8ea39c9a8489799cf86bb377fc80492b5b3bf.zip
MIPS: kexec: Use prepare method from Generic for UHI platforms
Out-of-tree platforms may not be based on Generic as shown in customer communication. Share the prepare method with all using UHI boot protocol, and put into machine_kexec.c. The benefit is that, when having kexec_args related problems, developers will naturally look into machine_kexec.c, where "CONFIG_UHI_BOOT" will be found, prompting them to add "select UHI_BOOT" to the platform Kconfig. It would otherwise require a lot debugging or online searching to be aware that the solution is in Generic code. Tested-by: Rachel Mozes <rachel.mozes@intel.com> Reported-by: Rachel Mozes <rachel.mozes@intel.com> Signed-off-by: Dengcheng Zhu <dzhu@wavecomp.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20569/ Cc: pburton@wavecomp.com Cc: ralf@linux-mips.org Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/generic/Makefile')
-rw-r--r--arch/mips/generic/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/generic/Makefile b/arch/mips/generic/Makefile
index d03a36f869a4..181aa1335419 100644
--- a/arch/mips/generic/Makefile
+++ b/arch/mips/generic/Makefile
@@ -15,5 +15,4 @@ obj-y += proc.o
obj-$(CONFIG_YAMON_DT_SHIM) += yamon-dt.o
obj-$(CONFIG_LEGACY_BOARD_SEAD3) += board-sead3.o
obj-$(CONFIG_LEGACY_BOARD_OCELOT) += board-ocelot.o
-obj-$(CONFIG_KEXEC) += kexec.o
obj-$(CONFIG_VIRT_BOARD_RANCHU) += board-ranchu.o