SLOF/board-qemu
Stefan Berger ae2e38c3ad tcgbios: Add TPM 2.0 support and firmware API
This patch adds TPM 2.0 support along with the firmware API that Linux
uses to transfer the firmware log.

The firmware API follows the "PFW Virtual TPM Driver" specification.
The API has callers in existing Linux code (prom_init.c) from TPM 1.2
times but the API also works for TPM 2.0 without modifications.

The TPM 2.0 support logs PCR extensions of measurements of code and data.
For this part we follow the TCG specification "TCG PC Client
Platform Firmware Profile Specification" (section "Event Logging").

Other relevant specs for the construction of TPM commands are:
- Trusted Platform Module Library; Part 2 Structures
- Trusted Platform Module Library; Part 3 Commands

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
[aik: removed new blank lines at EOF]
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2020-02-21 14:03:07 +11:00
..
include qemu: Make print_version variable accessible 2020-02-21 14:03:07 +11:00
llfw Fix bad assembler statements for compiling with gcc 8.1 / as 2.30 2018-07-02 14:16:45 +10:00
romfs Do not link libnet to net-snk anymore, and remove net-snk from board-qemu 2016-10-17 11:02:16 +11:00
slof tcgbios: Add TPM 2.0 support and firmware API 2020-02-21 14:03:07 +11:00
Makefile tpm: Add TPM CRQ driver implementation 2020-02-21 14:03:07 +11:00
Makefile.dirs Initial qemu/KVM board support 2011-03-22 15:22:00 +01:00
config dhcparch define missing in compilation 2014-06-12 23:57:12 +05:30