diff options
author | Tom Wai-Hong Tam <waihong@chromium.org> | 2013-04-12 11:04:37 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2013-06-03 01:31:23 -0700 |
commit | 1b393db5870927d68c42a46e6c5877c8d0d83910 (patch) | |
tree | 9c8357f65d5221778bcd7a9272c40823eeb89649 /README | |
parent | ec34fa5e43bfbef5a93394db04ff3b03fdfe3f44 (diff) | |
download | u-boot-imx-1b393db5870927d68c42a46e6c5877c8d0d83910.zip u-boot-imx-1b393db5870927d68c42a46e6c5877c8d0d83910.tar.gz u-boot-imx-1b393db5870927d68c42a46e6c5877c8d0d83910.tar.bz2 |
tpm: Reorganize the I2C TPM driver
This patch does a similar code reogranzation from
http://patchwork.ozlabs.org/patch/132179/
which is based on an old version of code (fdt support and bus selection
still not in). It merges this tidy-up on top of the recent code. It does
not make any logical change.
tpm.c implements the interface defined in tpm.h based on underlying
LPC or I2C TPM driver. tpm.c and the underlying driver communicate
throught tpm_private.h.
Note: Merging the LPC driver with tpm.c is left to future patches.
Change-Id: Ie1384f5f9e3935d3bc9a44adf8de80c5a70a5f2b
Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1212,6 +1212,19 @@ The following options need to be configured: CONFIG_TPM Support TPM devices. + CONFIG_TPM_TIS_I2C + Support for i2c bus TPM devices. Only one device + per system is supported at this time. + + CONFIG_TPM_TIS_I2C_BUS_NUMBER + Define the the i2c bus number for the TPM device + + CONFIG_TPM_TIS_I2C_SLAVE_ADDRESS + Define the TPM's address on the i2c bus + + CONFIG_TPM_TIS_I2C_BURST_LIMITATION + Define the burst count bytes upper limit + CONFIG_TPM_TIS_LPC Support for generic parallel port TPM devices. Only one device per system is supported at this time. |