soc/amd/mendocino: Specify and use FSP binaries for platform

Specify the default path to, and automatically include the FSP binaries
needed to boot a board if USE_AMD_BLOBS is selected. Simplifies board
configs, and matches use in previous patforms.

TEST=build/boot google/skyrim

Change-Id: Ic837d264327723c8dc18a60fb16e8d41fe38b44e
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77625
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Matt DeVillier 2023-09-01 09:29:14 -05:00 committed by Felix Held
parent e6a5e6cefb
commit 6dadf7f482
1 changed files with 15 additions and 0 deletions

View File

@ -3,6 +3,7 @@
config SOC_AMD_REMBRANDT_BASE config SOC_AMD_REMBRANDT_BASE
bool bool
select ACPI_SOC_NVS select ACPI_SOC_NVS
select ADD_FSP_BINARIES if USE_AMD_BLOBS
select ARCH_X86 select ARCH_X86
select BOOT_DEVICE_SUPPORTS_WRITES if BOOT_DEVICE_SPI_FLASH select BOOT_DEVICE_SUPPORTS_WRITES if BOOT_DEVICE_SPI_FLASH
select CACHE_MRC_SETTINGS select CACHE_MRC_SETTINGS
@ -111,6 +112,20 @@ config CHIPSET_DEVICETREE
default "soc/amd/mendocino/chipset_mendocino.cb" if SOC_AMD_MENDOCINO default "soc/amd/mendocino/chipset_mendocino.cb" if SOC_AMD_MENDOCINO
default "soc/amd/mendocino/chipset_rembrandt.cb" default "soc/amd/mendocino/chipset_rembrandt.cb"
config FSP_M_FILE
string "FSP-M (memory init) binary path and filename"
depends on ADD_FSP_BINARIES
default "3rdparty/amd_blobs/mendocino/MENDOCINO_M.fd" if SOC_AMD_MENDOCINO
help
The path and filename of the FSP-M binary for this platform.
config FSP_S_FILE
string "FSP-S (silicon init) binary path and filename"
depends on ADD_FSP_BINARIES
default "3rdparty/amd_blobs/mendocino/MENDOCINO_S.fd" if SOC_AMD_MENDOCINO
help
The path and filename of the FSP-S binary for this platform.
config EARLY_RESERVED_DRAM_BASE config EARLY_RESERVED_DRAM_BASE
hex hex
default 0x2000000 default 0x2000000