summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-01-16 17:25:26 -0700
committerFelix Held <felix-coreboot@felixheld.de>2023-01-18 22:04:21 +0000
commit411b4fc9f293cee3b4ceba6df54ba3bb16ce2ece (patch)
treed91c1c375669eda294a94c7929ce06fbd6b22d84 /src/mainboard
parent9a8e1191108cbd0c4099a44cbd9e8fe643397204 (diff)
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/skyrim/Kconfig6
-rw-r--r--src/mainboard/google/skyrim/amdfw.cfg38
2 files changed, 44 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig
index bbcb54b1df..d9454749d9 100644
--- a/src/mainboard/google/skyrim/Kconfig
+++ b/src/mainboard/google/skyrim/Kconfig
@@ -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
diff --git a/src/mainboard/google/skyrim/amdfw.cfg b/src/mainboard/google/skyrim/amdfw.cfg
new file mode 100644
index 0000000000..446f0eb4f9
--- /dev/null
+++ b/src/mainboard/google/skyrim/amdfw.cfg
@@ -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