coreboot-kgpe-d16/src/soc/mediatek/mt8183
Furquan Shaikh 46514c2b87 treewide: Add Kconfig variable MEMLAYOUT_LD_FILE
This change defines a Kconfig variable MEMLAYOUT_LD_FILE which allows
SoC/mainboard to provide a linker file for the platform. x86 already
provides a default memlayout.ld under src/arch/x86. With this new
Kconfig variable, it is possible for the SoC/mainboard code for x86 to
provide a custom linker file as well.

Makefile.inc is updated for all architectures to use this new Kconfig
variable instead of assuming memlayout.ld files under a certain
path. All non-x86 boards used memlayout.ld under mainboard
directory. However, a lot of these boards were simply including the
memlayout from SoC. So, this change also updates these mainboards and
SoCs to define the Kconfig as required.

BUG=b:155322763
TEST=Verified that abuild with --timeless option results in the same
coreboot.rom image for all boards.

Change-Id: I6a7f96643ed0519c93967ea2c3bcd881a5d6a4d6
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42292
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-06-13 06:49:23 +00:00
..
include/soc treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
auxadc.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
bootblock.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ddp.c src: Remove unused '#include <stddef.h>' 2020-05-13 08:48:50 +00:00
decompressor.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
dramc_init_setting.c soc/mediatek/mt8183: Set CA and DQ vref range to correct value 2020-05-20 09:50:45 +00:00
dramc_param.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
dramc_pi_basic_api.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
dramc_pi_calibration_api.c soc/mediatek/mt8183: Set CA and DQ vref range to correct value 2020-05-20 09:50:45 +00:00
dsi.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
emi.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gpio.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
Makefile.inc arch/arm64: Pass cbmem_top to ramstage via calling argument 2019-11-03 11:19:24 +00:00
md_ctrl.c treewide: replace GPLv2 long form headers with SPDX header 2020-05-06 22:20:57 +00:00
memlayout.ld treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
memory.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mmu_operations.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mt6358.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mt8183.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mtcmos.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pll.c src: Remove unused '#include <stddef.h>' 2020-05-13 08:48:50 +00:00
pmic_wrap.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
rtc.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
soc.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
spi.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
spm.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sspm.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00