coreboot-kgpe-d16/src/mainboard
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
..
51nb mb/51nb/x210: Remove duplicate ACPI power button device 2020-06-06 09:45:18 +00:00
adlink
amd mb,sb/amd/cimx/sb800: Remove FADT_PM_PROFILE 2020-06-10 01:08:24 +00:00
aopen aopen/dxplplusu,intel/i82801dx: Select COMMON_FADT 2020-06-10 01:00:11 +00:00
apple mainboard/*/*/*.cb: Remove leading blank lines from SPDX header 2020-05-18 07:01:11 +00:00
asrock mb/asrock/b85m_pro4: Make VGA work on Linux 2020-06-06 20:24:16 +00:00
asus amd/agesa/hudson boards: Get rid of power button device 2020-06-06 09:45:00 +00:00
bap amd/pi/hudson boards: Get rid of power button device 2020-06-06 09:44:53 +00:00
biostar src: Remove unused '#include <cpu/x86/lapic.h>' 2020-06-02 07:38:45 +00:00
cavium treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
compulab mainboard/*/*/*.cb: Remove leading blank lines from SPDX header 2020-05-18 07:01:11 +00:00
dell mb/dell/optiplex_9010: Add Dell OptiPlex 9010 SFF support 2020-05-16 17:38:46 +00:00
elmex mb,sb/amd/cimx/sb800: Remove FADT_PM_PROFILE 2020-06-10 01:08:24 +00:00
emulation treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
facebook acpi: Rename motherboard_fill_fadt() to mainboard_fill_fadt() 2020-06-07 21:53:33 +00:00
foxconn mainboard/*/*/Kconfig*: Remove leading blank lines from SPDX header 2020-05-18 07:00:58 +00:00
getac mainboard/*/*/*.cb: Remove leading blank lines from SPDX header 2020-05-18 07:01:11 +00:00
gigabyte mb/gigabyte/ga-g41m-es2l: Remove MEI PCI devices from devicetree 2020-06-03 12:23:43 +00:00
gizmosphere mb,sb/amd/cimx/sb800: Remove FADT_PM_PROFILE 2020-06-10 01:08:24 +00:00
google treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
hp amd/agesa/hudson boards: Get rid of power button device 2020-06-06 09:45:00 +00:00
ibase src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
intel mb/intel/cannonlake_rvp,coffeelake_rvp: Add MAINBOARD_HAS_LPC_TPM 2020-06-10 12:41:28 +00:00
jetway mb,sb/amd/cimx/sb800: Remove FADT_PM_PROFILE 2020-06-10 01:08:24 +00:00
kontron src: Remove unused '#include <cpu/x86/lapic.h>' 2020-06-02 07:38:45 +00:00
lenovo sb/intel/i82801ix: Select COMMON_FADT 2020-06-10 01:01:32 +00:00
libretrend skylake: update processor power limits configuration 2020-05-18 07:13:23 +00:00
lippert mb,sb/amd/cimx/sb800: Remove FADT_PM_PROFILE 2020-06-10 01:08:24 +00:00
msi amd/agesa/hudson boards: Get rid of power button device 2020-06-06 09:45:00 +00:00
ocp acpi: Rename motherboard_fill_fadt() to mainboard_fill_fadt() 2020-06-07 21:53:33 +00:00
opencellular treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
packardbell src: Remove unused '#include <cpu/x86/lapic.h>' 2020-06-02 07:38:45 +00:00
pcengines mb,sb/amd/cimx/sb800: Remove FADT_PM_PROFILE 2020-06-10 01:08:24 +00:00
portwell acpi: Rename motherboard_fill_fadt() to mainboard_fill_fadt() 2020-06-07 21:53:33 +00:00
prodrive mb/prodrive/hermes: Add new mainboard port 2020-06-06 07:44:53 +00:00
protectli acpi: Rename motherboard_fill_fadt() to mainboard_fill_fadt() 2020-06-07 21:53:33 +00:00
purism soc/intel/baytrail,braswell,broadwell,quark: Select COMMON_FADT 2020-06-07 21:52:37 +00:00
razer mb/razer/blade_stealth_kbl: Remove duplicate ACPI power button device 2020-06-06 09:45:30 +00:00
roda sb/intel/i82801ix: Select COMMON_FADT 2020-06-10 01:01:32 +00:00
samsung src: Remove unused 'include <arch/smp/mpspec.h>' 2020-06-02 07:40:08 +00:00
sapphire src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
scaleway mb/scaleway/tagada: Move override of SMBIOS_ENCLOSURE_TYPE 2020-06-09 06:29:31 +00:00
siemens
sifive treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
supermicro src: Remove redundant includes 2020-06-02 07:42:32 +00:00
system76 cannonlake: update processor power limits configuration 2020-05-26 15:02:54 +00:00
ti treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
up
Kconfig