summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/lpc/Makefile.mk
blob: 11de514a0851fafdfdae5d0159ea9daba5f07303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_LPC),y)

ramstage-y += lpc.c

all_x86-y += lpc_util.c
smm-y += lpc_util.c

endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC

ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA),y)
all_x86-y += spi_dma.c
smm-y += spi_dma.c
endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA

all-$(CONFIG_SOC_AMD_COMMON_BLOCK_USE_ESPI) += espi_util.c