summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/psp/Makefile.inc
blob: 5bae663021a85538420545af9a6d0f100819926a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP),y)

romstage-y += psp.c
ramstage-y += psp.c
smm-y += psp.c
smm-y += psp_smm.c

bootblock-y += psp_efs.c
bootblock-$(CONFIG_AMD_SOC_SEPARATE_EFS_SECTION) += efs_fmap_check.c
verstage-y += psp_efs.c

endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP

ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1),y)

romstage-y += psp_gen1.c
ramstage-y += psp_gen1.c
smm-y += psp_gen1.c

endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1

ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2),y)

romstage-y += psp_gen2.c
ramstage-y += psp_gen2.c
smm-y += psp_gen2.c
smm-y += psp_smm_gen2.c

endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2