Debian Codegraph @

src/soc/amd/common/block/psp/Makefile.mk

raw symbols SCIP
1 ## SPDX-License-Identifier: GPL-2.0-only
2 ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP),y)
3
4 romstage-y += psp.c
5 ramstage-y += psp.c
6 smm-y += psp.c
7 smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_SMI) += psp_smi.c
8 smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_SMI) += psp_smi_flash.c
9 smm-y += psp_smm.c
10
11 bootblock-y += psp_efs.c
12 verstage-y += psp_efs.c
13
14 all-y += ftpm.c
15
16 endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP
17
18 ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1),y)
19
20 romstage-y += psp_gen1.c
21 ramstage-y += psp_gen1.c
22
23 smm-y += psp_gen1.c
24 smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_SMI) += psp_smi_flash_gen1.c
25
26 endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1
27
28 ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2),y)
29
30 romstage-y += psp_gen2.c
31 ramstage-y += psp_gen2.c
32 ramstage-$(CONFIG_PSP_PLATFORM_SECURE_BOOT) += psb.c
33 ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_I2C3_TPM_SHARED_WITH_PSP) += tpm.c
34
35 smm-y += psp_gen2.c
36 smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_SMI) += psp_smi_flash_gen2.c
37 smm-y += psp_smm_gen2.c
38
39 ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_RPMC) += rpmc.c
40 ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_SPL) += spl_fuse.c
41
42 endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2