mb/google/skyrim: Add custom amdfw.cfg file to remove fwTPM

Skyrim doesn't use the firmware TPM, so remove the binary from the
image.

Note that because this was not used, removing it doesn't change the boot
time.

BUG=None
TEST=Boot

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Ia627b128c3346a2556c5306de7506519d1f2d70c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72002
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
This commit is contained in:
Martin Roth 2023-01-16 17:25:26 -07:00 committed by Felix Held
parent 9a8e119110
commit 411b4fc9f2
2 changed files with 44 additions and 0 deletions

View File

@ -58,6 +58,12 @@ config DRIVER_TPM_I2C_ADDR
hex
default 0x50
config AMDFW_CONFIG_FILE
string
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/amdfw.cfg"
help
Custom firmware list excluding the fwTPM binary.
config HAVE_SPL_FILE
bool
default y

View File

@ -0,0 +1,38 @@
# PSP fw config file
FIRMWARE_LOCATION 3rdparty/amd_blobs/mendocino/PSP
# type file
# PSP
AMD_PUBKEY_FILE TypeId0x00_MendocinoRoot.tkn
PSPBTLDR_AB_STAGE1_FILE TypeId0x01_PspBootLoader1_MDN.sbin
PSPSECUREOS_FILE TypeId0x02_PspOS_MDN.sbin
PSP_SMUFW1_SUB0_FILE TypeId0x08_SmuFirmware_MDN.sbin
PSPSECUREDEBUG_FILE TypeId0x09_Mendocino-SDU.stkn
PSP_SMUFW2_SUB0_FILE TypeId0x12_SmuFirmware2_MDN.sbin
PSP_SEC_DEBUG_FILE TypeId0x13_PspEarlyUnlock_MDN.sbin
PSP_HW_IPCFG_FILE TypeId0x20_HwIpCfg_MDN.sbin
PSP_IKEK_FILE TypeId0x21_PspiKek_MDN.bin
PSP_SECG0_FILE TypeId0x24_SecPolicy_MDN.sbin
PSP_MP2FW0_FILE TypeId0x25_Mp2Fw_MDN.sbin
AMD_DRIVER_ENTRIES TypeId0x28_PspSystemDriver_MDN.sbin
PSP_S0I3_FILE TypeId0x2D_AgesaRunTimeDrv_MDN.sbin
PSP_ABL0_FILE TypeId0x30_AgesaBootloaderU_MDN_LPDDR5.sbin
VBIOS_BTLOADER_FILE TypeId0x3C_VbiosBootLoader_MDN.sbin
SECURE_POLICY_L1_FILE TypeId0x45_SecPolicytOS_MDN.sbin
UNIFIEDUSB_FILE TypeId0x44_UnifiedUsb_MDN.sbin
KEYDBBL_FILE TypeId0x50_KeyDbBl_MDN.sbin
KEYDB_TOS_FILE TypeId0x51_KeyDbTos_MDN.sbin
SPL_TABLE_FILE TypeId0x55_SplTableBl_MDN.sbin
MSMU_FILE TypeId0x5A_Msmu_MDN.sbin
SPIROM_CONFIG_FILE TypeId0x5C_SpiRomConfig_MDN_Dual66.sbin
DMCUB_FILE TypeId0x71_DmcubFw_MDN.sbin
PSPBTLDR_AB_FILE TypeId0x73_PspBootLoader2_MDN.sbin
TA_IKEK_FILE TypeId0x8D_IkekTa_MDN.bin
# BDT
PSP_PMUI_FILE_SUB0_INS1 TypeId0x64_Appb_MDN_Lpddr5Imem1.csbin
PSP_PMUD_FILE_SUB0_INS1 TypeId0x65_Appb_MDN_Lpddr5Dmem1.csbin
PSP_PMUI_FILE_SUB0_INS2 TypeId0x64_Appb_MDN_Lpddr5Imem2.csbin
PSP_PMUD_FILE_SUB0_INS2 TypeId0x65_Appb_MDN_Lpddr5Dmem2.csbin
PSP_MP2CFG_FILE TypeId0x6a_Mp2FwConfig_MDN.sbin