]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/tpm/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-mmc
[karo-tx-uboot.git] / drivers / tpm / Makefile
index be11c8b595f1367daffc623aff8aa7c694a36749..c3010ba68f0db6be32be1bb9b5ef5533dbe24c78 100644 (file)
@@ -23,7 +23,13 @@ include $(TOPDIR)/config.mk
 
 LIB := $(obj)libtpm.o
 
-COBJS-$(CONFIG_GENERIC_LPC_TPM) = generic_lpc_tpm.o
+$(shell mkdir -p $(obj)slb9635_i2c)
+
+# TODO: Merge tpm_tis_lpc.c with tpm.c
+COBJS-$(CONFIG_TPM_ATMEL_TWI) += tpm_atmel_twi.o
+COBJS-$(CONFIG_TPM_TIS_I2C) += tpm.o
+COBJS-$(CONFIG_TPM_TIS_I2C) += tpm_tis_i2c.o
+COBJS-$(CONFIG_TPM_TIS_LPC) += tpm_tis_lpc.o
 
 COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)