From 4690b0370496db827a50638c27710fca364b7c73 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 22 Oct 2021 04:07:17 +0200 Subject: [PATCH] soc/amd/common/block/lpc/Makefile: simplify handling spi_dma.c Use the verstage_x86 class for the spi_dma.c target instead of using the verstage class and guarding it with !VBOOT_STARTS_BEFORE_BOOTBLOCK. Signed-off-by: Felix Held Change-Id: I9b8cafd1ef17df8c485f6594bc0928cea88e436b Reviewed-on: https://review.coreboot.org/c/coreboot/+/58544 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/soc/amd/common/block/lpc/Makefile.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/soc/amd/common/block/lpc/Makefile.inc b/src/soc/amd/common/block/lpc/Makefile.inc index b1fed7eb01..040517d947 100644 --- a/src/soc/amd/common/block/lpc/Makefile.inc +++ b/src/soc/amd/common/block/lpc/Makefile.inc @@ -13,9 +13,7 @@ endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA),y) bootblock-y += spi_dma.c -ifneq ($(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK),y) -verstage-y += spi_dma.c -endif +verstage_x86-y += spi_dma.c romstage-y += spi_dma.c ramstage-y += spi_dma.c smm-y += spi_dma.c