diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2021-10-13 22:14:23 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-15 12:58:28 +0000 |
commit | 4cf6605066a54bb74c3f68db7730115a23eef6e5 (patch) | |
tree | 2538e9c914cfbc417162320fde88df91f2442e5d /src | |
parent | 7da871ef497e66cd62d4d8bea142cd438bef204b (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/amd/common/block/lpc/Makefile.inc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/soc/amd/common/block/lpc/Makefile.inc b/src/soc/amd/common/block/lpc/Makefile.inc index 7900b10d13..b1fed7eb01 100644 --- a/src/soc/amd/common/block/lpc/Makefile.inc +++ b/src/soc/amd/common/block/lpc/Makefile.inc @@ -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 |