From 6dadf7f4823a93a20d8ac7b24f93beea78f69c09 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Fri, 1 Sep 2023 09:29:14 -0500 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77625 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/soc/amd/mendocino/Kconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/soc/amd/mendocino/Kconfig b/src/soc/amd/mendocino/Kconfig index 7497ced2ff..ad0ea4c003 100644 --- a/src/soc/amd/mendocino/Kconfig +++ b/src/soc/amd/mendocino/Kconfig @@ -3,6 +3,7 @@ config SOC_AMD_REMBRANDT_BASE bool select ACPI_SOC_NVS + select ADD_FSP_BINARIES if USE_AMD_BLOBS select ARCH_X86 select BOOT_DEVICE_SUPPORTS_WRITES if BOOT_DEVICE_SPI_FLASH 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_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 hex default 0x2000000