Commit 3e3a5e90 authored by Stefan Berger's avatar Stefan Berger Committed by Kent Yoder

tpm: Store TPM vendor ID

Store the TPM vendor ID for later use.
Signed-off-by: default avatarStefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: default avatarKent Yoder <key@linux.vnet.ibm.com>
parent 4643826a
......@@ -105,6 +105,8 @@ struct tpm_vendor_specific {
wait_queue_head_t read_queue;
wait_queue_head_t int_queue;
u16 manufacturer_id;
};
#define TPM_VPRIV(c) (c)->vendor.priv
......
......@@ -534,6 +534,7 @@ static int tpm_tis_init(struct device *dev, resource_size_t start,
}
vendor = ioread32(chip->vendor.iobase + TPM_DID_VID(0));
chip->vendor.manufacturer_id = vendor;
dev_info(dev,
"1.2 TPM (device-id 0x%X, rev-id %d)\n",
......
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