summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2021-06-21 20:28:29 -0600
committerMartin Roth <martinroth@google.com>2021-06-23 19:00:17 +0000
commit7c21c208217705c4dbcb3db8e92891229efb2bda (patch)
treece64164d2271cbca4764e771555d3768d0ba8fbb /src/mainboard/google/guybrush
parent7abdb6560a371f4b392f863f8ea0cdfe7eb3194a (diff)
mb/google/guybrush: Add guybrush specific AMDFW config file
This takes the "generic" AMD firmware config file from the cezanne directory and removes pieces unnecessary for guybrush. Removed: - PSPTRUSTLETS_FILE TypeId0x0C_FtpmDrv_CZN.csbin - PSP_MP2FW0_FILE TypeId0x25_Mp2Fw_CZN.sbin - PSP_KVM_ENGINE_DUMMY_FILE TypeId0x29_KvmEngineDummy.csbin - DRTMTA_FILE TypeId0x47_DrtmTA_CZN.sbin - PSP_MP2CFG_FILE MP2FWConfig.sbin BUG=b:187103438 TEST=Build & Boot Signed-off-by: Martin Roth <martinroth@chromium.org> Change-Id: I5a0ed1edd7616a890f906b7f3e4a7d364758ca47 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55743 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard/google/guybrush')
-rw-r--r--src/mainboard/google/guybrush/Kconfig4
-rw-r--r--src/mainboard/google/guybrush/variants/baseboard/amdfw.cfg35
2 files changed, 39 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/Kconfig b/src/mainboard/google/guybrush/Kconfig
index a14e2f2e1e..d98a1db040 100644
--- a/src/mainboard/google/guybrush/Kconfig
+++ b/src/mainboard/google/guybrush/Kconfig
@@ -82,6 +82,10 @@ config DRIVER_TPM_I2C_ADDR
hex
default 0x50
+config AMDFW_CONFIG_FILE
+ string
+ default "src/mainboard/google/guybrush/variants/baseboard/amdfw.cfg"
+
config EFS_SPI_READ_MODE
int
default 0 if EM100 # Normal read mode
diff --git a/src/mainboard/google/guybrush/variants/baseboard/amdfw.cfg b/src/mainboard/google/guybrush/variants/baseboard/amdfw.cfg
new file mode 100644
index 0000000000..ba820889ea
--- /dev/null
+++ b/src/mainboard/google/guybrush/variants/baseboard/amdfw.cfg
@@ -0,0 +1,35 @@
+# PSP fw config file
+
+FIRMWARE_LOCATION 3rdparty/amd_blobs/cezanne/PSP
+
+# type file
+# PSP
+AMD_PUBKEY_FILE TypeId0x00_CezannePublicKey.tkn
+PSPBTLDR_FILE TypeId0x01_PspBootLoader_CZN.sbin
+PSPBTLDR_WL_FILE TypeId0x01_PspBootLoader_WL_CZN.sbin
+PSPSECUREOS_FILE TypeId0x02_PspOS_CZN.sbin
+PSPRCVR_FILE TypeId0x03_PspRecoveryBootLoader_CZN.sbin
+PSP_SMUFW1_SUB0_FILE TypeId0x08_SmuFirmware_CZN.csbin
+PSPSECUREDEBUG_FILE TypeId0x09_SecureDebugUnlockKey_CZN.stkn
+PSP_SMUFW2_SUB0_FILE TypeId0x12_SmuFirmware2_CZN.csbin
+PSP_SEC_DEBUG_FILE TypeId0x13_PspEarlyUnlock_CZN.sbin
+PSP_HW_IPCFG_FILE TypeId0x20_HwIpCfg_CZN_A0.sbin
+PSP_IKEK_FILE TypeId0x21_PspIkek_CZN.bin
+PSP_SECG0_FILE TypeId0x24_SecurePolicyL0_CZN.sbin
+AMD_DRIVER_ENTRIES TypeId0x28_PspSystemDriver_CZN.sbin
+PSP_S0I3_FILE TypeId0x2D_AgesaRunTimeDrv_CZN.sbin
+PSP_ABL0_FILE TypeId0x30_AgesaBootloaderU_CZN_LPDDR4.csbin
+VBIOS_BTLOADER_FILE TypeId0x3C_VbiosBootLoader_CZN.sbin
+SECURE_POLICY_L1_FILE TypeId0x45_SecurePolicyL1_CZN.sbin
+UNIFIEDUSB_FILE TypeId0x44_UnifiedUsb_CZN.sbin
+KEYDBBL_FILE TypeId0x50_KeyDbBl_CZN.sbin
+KEYDB_TOS_FILE TypeId0x51_KeyDbTos_CZN.sbin
+DMCUERAMDCN21_FILE TypeId0x58_DmcuEramDcn21.sbin
+DMCUINTVECTORSDCN21_FILE TypeId0x59_DmcuIntvectorsDcn21.sbin
+PSPBTLDR_AB_FILE TypeId0x73_PspBootLoader_AB_CZN.sbin
+
+# BDT
+PSP_PMUI_FILE1 TypeId0x64_Appb_CZN_1D_Lpddr4_Imem.csbin
+PSP_PMUD_FILE1 TypeId0x65_Appb_CZN_1D_Lpddr4_Dmem.csbin
+PSP_PMUI_FILE2 TypeId0x64_Appb_CZN_2D_Lpddr4_Imem.csbin
+PSP_PMUD_FILE2 TypeId0x65_Appb_CZN_2D_Lpddr4_Dmem.csbin