diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2021-10-22 04:07:17 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-25 20:44:06 +0000 |
commit | 4690b0370496db827a50638c27710fca364b7c73 (patch) | |
tree | 2d99cff6763e2d1717995cde13adc99bf1892ad4 /src/soc | |
parent | f77d78dcfb664bc23649bcd9bc39b4b37ca1af52 (diff) |
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
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58544
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/common/block/lpc/Makefile.inc | 4 |
1 files changed, 1 insertions, 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 |