]> git.sur5r.net Git - u-boot/commit
tpm: Move the I2C TPM code into one file
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:22 +0000 (18:31 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:57:27 +0000 (07:57 -0600)
commit4cd7b7834c19903504d76542fb0240cde34853f5
treefac2807f2f1dfdaa07525ca4d48ade2f278a8c83
parent07470d6f5bf7fa608cdf30263dd045dd9f51d50d
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>
drivers/tpm/Makefile
drivers/tpm/tpm.c [deleted file]
drivers/tpm/tpm_private.h [deleted file]
drivers/tpm/tpm_tis_i2c.c
drivers/tpm/tpm_tis_i2c.h [new file with mode: 0644]