1## SPDX-License-Identifier: GPL-2.0-only 2ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP),y) 3 4romstage-y += psp.c 5ramstage-y += psp.c 6smm-y += psp.c 7smm-y += psp_smm.c 8 9bootblock-y += psp_efs.c 10verstage-y += psp_efs.c 11 12endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP 13 14ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1),y) 15 16romstage-y += psp_gen1.c 17ramstage-y += psp_gen1.c 18smm-y += psp_gen1.c 19 20endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1 21 22ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2),y) 23 24romstage-y += psp_gen2.c 25ramstage-y += psp_gen2.c 26ramstage-$(CONFIG_PSP_PLATFORM_SECURE_BOOT) += psb.c 27ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_I2C3_TPM_SHARED_WITH_PSP) += tpm.c 28 29smm-y += psp_gen2.c 30smm-y += psp_smm_gen2.c 31 32ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_SPL) += spl_fuse.c 33 34endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2 35