]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:16 +0000 (12:19 +0200)
commitffcdbd85b18e0e34ce296a4bfa90ec441e9db6c8
treed8df6ac6963237dc3a548263aa443debebee8cbc
parent0bfcc924552b8ec79a20b8b12557ff08742c4f0e
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_tis_i2c.c
drivers/tpm/tpm_tis_i2c.h [moved from drivers/tpm/tpm_private.h with 73% similarity]