diff options
Diffstat (limited to 'src/drivers/i2c/tpm/Makefile.mk')
-rw-r--r-- | src/drivers/i2c/tpm/Makefile.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/drivers/i2c/tpm/Makefile.mk b/src/drivers/i2c/tpm/Makefile.mk new file mode 100644 index 000000000000..f576109eed9a --- /dev/null +++ b/src/drivers/i2c/tpm/Makefile.mk @@ -0,0 +1,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 |