46514c2b87
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>
33 lines
752 B
Text
33 lines
752 B
Text
config SOC_QC_IPQ806X
|
|
bool
|
|
default n
|
|
select ARCH_BOOTBLOCK_ARMV7
|
|
select ARCH_VERSTAGE_ARMV7
|
|
select ARCH_ROMSTAGE_ARMV7
|
|
select ARCH_RAMSTAGE_ARMV7
|
|
select HAVE_UART_SPECIAL
|
|
select GENERIC_GPIO_LIB
|
|
select NO_MONOTONIC_TIMER
|
|
|
|
if SOC_QC_IPQ806X
|
|
|
|
config MEMLAYOUT_LD_FILE
|
|
string
|
|
default "src/soc/qualcomm/ipq806x/memlayout.ld"
|
|
|
|
config VBOOT
|
|
select VBOOT_STARTS_IN_BOOTBLOCK
|
|
select VBOOT_VBNV_FLASH
|
|
select VBOOT_SEPARATE_VERSTAGE
|
|
select VBOOT_RETURN_FROM_VERSTAGE
|
|
|
|
config SBL_BLOB
|
|
depends on USE_BLOBS
|
|
string "file name of the Qualcomm SBL blob"
|
|
default "3rdparty/blobs/cpu/qualcomm/ipq806x/uber-sbl.mbn"
|
|
help
|
|
The path and filename of the binary blob containing
|
|
ipq806x early initialization code, as supplied by the
|
|
vendor.
|
|
|
|
endif
|