]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: add Revision ID field in the chip structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 15 May 2018 09:57:04 +0000 (11:57 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 25 May 2018 12:12:40 +0000 (08:12 -0400)
commit06425aa087b7dae17028544a0161ecc2ba6059c8
tree1f8cb50d893bdc314fc43fa33ccd0377a65b0477
parent96cc4e31fb8450c8ee3cee7bd5f8580a0c9a2224
tpm: add Revision ID field in the chip structure

TPM are shipped with a few read-only register from which we can retrieve
for instance:
- vendor ID
- product ID
- revision ID

Product and vendor ID share the same register and are already referenced
in the tpm_chip structure. Add the revision ID entry which is missing.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/tpm/tpm_tis.h