Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/58544 )
Change subject: soc/amd/common/block/lpc/Makefile: simplify handling spi_dma.c ......................................................................
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 felix-coreboot@felixheld.de Change-Id: I9b8cafd1ef17df8c485f6594bc0928cea88e436b --- M src/soc/amd/common/block/lpc/Makefile.inc 1 file changed, 1 insertion(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/58544/1
diff --git a/src/soc/amd/common/block/lpc/Makefile.inc b/src/soc/amd/common/block/lpc/Makefile.inc index b1fed7e..040517d 100644 --- a/src/soc/amd/common/block/lpc/Makefile.inc +++ b/src/soc/amd/common/block/lpc/Makefile.inc @@ -13,9 +13,7 @@
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