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:
parent
7da871ef49
commit
4cf6605066
|
@ -21,11 +21,4 @@ ramstage-y += spi_dma.c
|
||||||
smm-y += spi_dma.c
|
smm-y += spi_dma.c
|
||||||
endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
|
endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
|
||||||
|
|
||||||
ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_USE_ESPI),y)
|
all-$(CONFIG_SOC_AMD_COMMON_BLOCK_USE_ESPI) += espi_util.c
|
||||||
|
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in New Issue