diff --git a/src/soc/amd/common/block/cpu/Makefile.inc b/src/soc/amd/common/block/cpu/Makefile.inc index 055341ec4d..f198af2e30 100644 --- a/src/soc/amd/common/block/cpu/Makefile.inc +++ b/src/soc/amd/common/block/cpu/Makefile.inc @@ -1,11 +1,12 @@ ## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ./* -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_UCODE) += update_microcode.c -romstage-y += cpu.c -ramstage-y += cpu.c +romstage-y += cpu.c + +ramstage-y += cpu.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_SVI2) += svi2.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_SVI3) += svi3.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_UCODE) += update_microcode.c ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_UCODE),y) define add-ucode-as-cbfs