mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 19:45:22 +07:00
2fe8ea39c9
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
19 lines
592 B
Makefile
19 lines
592 B
Makefile
#
|
|
# Copyright (C) 2016 Imagination Technologies
|
|
# Author: Paul Burton <paul.burton@mips.com>
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by the
|
|
# Free Software Foundation; either version 2 of the License, or (at your
|
|
# option) any later version.
|
|
#
|
|
|
|
obj-y += init.o
|
|
obj-y += irq.o
|
|
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_VIRT_BOARD_RANCHU) += board-ranchu.o
|