soc/amd/common/block/lpc: simplify eSPI part of Makefile

Since espi_util.c is also built in the case of verstage on PSP, we can
just add it to all stages.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I65e07c356aac73c5de2d9ce5582434872a223c19
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58312
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Felix Held 2021-10-13 22:14:23 +02:00 committed by Felix Held
parent 7da871ef49
commit 4cf6605066
1 changed files with 1 additions and 8 deletions

View File

@ -21,11 +21,4 @@ ramstage-y += spi_dma.c
smm-y += spi_dma.c
endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_USE_ESPI),y)
bootblock-y += espi_util.c
romstage-y += espi_util.c
ramstage-y += espi_util.c
verstage-y += espi_util.c
endif # CONFIG_SOC_AMD_COMMON_BLOCK_USE_ESPI
all-$(CONFIG_SOC_AMD_COMMON_BLOCK_USE_ESPI) += espi_util.c