Commit 06425aa0 authored by Miquel Raynal's avatar Miquel Raynal Committed by Tom Rini
Browse files

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: default avatarMiquel Raynal <>
Reviewed-by: Simon Glass's avatarSimon Glass <>
Reviewed-by: Tom Rini's avatarTom Rini <>
parent 96cc4e31
......@@ -40,6 +40,7 @@ struct tpm_chip {
int is_open;
int locality;
u32 vend_dev;
u8 rid;
unsigned long timeout_a, timeout_b, timeout_c, timeout_d; /* msec */
ulong chip_type;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment