diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2013-04-12 11:04:36 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2013-06-03 01:26:25 -0700 |
commit | ec34fa5e43bfbef5a93394db04ff3b03fdfe3f44 (patch) | |
tree | 1f5b45952a9440d6b4571313f0a4dcf98e94148b /drivers/tpm/tis_i2c.c | |
parent | 5bdf46b71b26263d090ccdb1c6679afd085f0323 (diff) | |
download | u-boot-imx-ec34fa5e43bfbef5a93394db04ff3b03fdfe3f44.zip u-boot-imx-ec34fa5e43bfbef5a93394db04ff3b03fdfe3f44.tar.gz u-boot-imx-ec34fa5e43bfbef5a93394db04ff3b03fdfe3f44.tar.bz2 |
tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)
Add support for Infineon's new SLB 9645 TT 1.2 I2C TPMs,
which supports clockstretching, combined reads and a bus speed of
up to 400khz. The device also has a new device id.
This is based on the kernel patch provided by Infineon :
https://gerrit.chromium.org/gerrit/42332
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'drivers/tpm/tis_i2c.c')
-rw-r--r-- | drivers/tpm/tis_i2c.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/tpm/tis_i2c.c b/drivers/tpm/tis_i2c.c index e818fba..22554e1 100644 --- a/drivers/tpm/tis_i2c.c +++ b/drivers/tpm/tis_i2c.c @@ -68,6 +68,10 @@ static int tpm_decode_config(struct tpm *dev) node = fdtdec_next_compatible(blob, 0, COMPAT_INFINEON_SLB9635_TPM); if (node < 0) { + node = fdtdec_next_compatible(blob, 0, + COMPAT_INFINEON_SLB9645_TPM); + } + if (node < 0) { debug("%s: Node not found\n", __func__); return -1; } |