]> xenbits.xensource.com Git - seabios.git/commit
tpm: add TPM CRB device support
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 26 Feb 2018 14:12:14 +0000 (09:12 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 27 Feb 2018 16:29:11 +0000 (11:29 -0500)
commit9c6e73b5ebf1f184f96e9ed498a8d1a51512e807
tree150354f6657d529aab78c30bfc68e0eea95b9747
parenta197e204cadd70758de3ea94cfb6d647e88ada95
tpm: add TPM CRB device support

The CRB device was introduced with TPM 2.0 to be physical-bus agnostic
and defined in TCG PC Client Platform TPM Profile (PTP) Specification
Family “2.0” Level 00 Revision 01.03 v22

It seems to be required with Windows 10. It is also a simpler device
than FIFO/TIS.

This patch only support locality 0 since also the CRB device in QEMU
only supports this locality.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
src/hw/tpm_drivers.c
src/hw/tpm_drivers.h