summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/tpm/Makefile.inc
blob: f576109eed9ae36273de732c00ed256d55a60594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## SPDX-License-Identifier: GPL-2.0-only

ifeq ($(CONFIG_TPM)$(CONFIG_I2C_TPM),yy)

all-$(CONFIG_DRIVER_TIS_DEFAULT) += tis.c

ifeq ($(CONFIG_TPM_ATMEL),y)
all-y += tis_atmel.c
else ifeq ($(CONFIG_TPM_GOOGLE),y)
all-y += cr50.c
else
all-y += tpm.c
endif

endif

ramstage-$(CONFIG_DRIVER_I2C_TPM_ACPI) += chip.c