1 ## SPDX-License-Identifier: GPL-2.0-only
2 ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_MCA_COMMON
),y
)
3 ramstage-y
+= mca_common.c
4 ramstage-
$(CONFIG_ACPI_BERT
) += mca_common_bert.c
5 endif # CONFIG_SOC_AMD_COMMON_BLOCK_MCA_COMMON
7 ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_MCA
),y
)
8 ramstage-
$(CONFIG_ACPI_BERT
) += mca_bert.c
10 endif # CONFIG_SOC_AMD_COMMON_BLOCK_MCA
12 ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_MCAX
),y
)
13 ramstage-
$(CONFIG_ACPI_BERT
) += mcax_bert.c
15 endif # CONFIG_SOC_AMD_COMMON_BLOCK_MCAX