summaryrefslogtreecommitdiff
path: root/drivers/tpm/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-23 00:31:22 (GMT)
committerSimon Glass <sjg@chromium.org>2015-08-31 13:57:27 (GMT)
commit4cd7b7834c19903504d76542fb0240cde34853f5 (patch)
treefac2807f2f1dfdaa07525ca4d48ade2f278a8c83 /drivers/tpm/Makefile
parent07470d6f5bf7fa608cdf30263dd045dd9f51d50d (diff)
downloadu-boot-fsl-qoriq-4cd7b7834c19903504d76542fb0240cde34853f5.tar.xz
tpm: Move the I2C TPM code into one file
The current Infineon I2C TPM driver is written in two parts, intended to support use with other I2C devices. However we don't have any users and the Atmel I2C TPM device does not use this file. We should simplify this and remove the unused abstration. As a first step, move the code into one file. Also the name tpm_private.h suggests that the header file is generic to all TPMs but it is not. Rename it indicate that it relates only to this driver Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/tpm/Makefile')
-rw-r--r--drivers/tpm/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tpm/Makefile b/drivers/tpm/Makefile
index 150570e..597966c 100644
--- a/drivers/tpm/Makefile
+++ b/drivers/tpm/Makefile
@@ -3,9 +3,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
-# TODO: Merge tpm_tis_lpc.c with tpm.c
obj-$(CONFIG_TPM_ATMEL_TWI) += tpm_atmel_twi.o
-obj-$(CONFIG_TPM_TIS_I2C) += tpm.o
obj-$(CONFIG_TPM_TIS_I2C) += tpm_tis_i2c.o
obj-$(CONFIG_TPM_TIS_LPC) += tpm_tis_lpc.o
obj-$(CONFIG_TPM_TIS_SANDBOX) += tpm_tis_sandbox.o