]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: Move TCG headers into a separate file
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Sun, 23 Jun 2024 11:48:14 +0000 (14:48 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 30 Jun 2024 11:58:31 +0000 (13:58 +0200)
commit27b462cec15c994f9490425094c7e405d539f3e7
treee5119004d520d4e503f73871aa00d1fdd7218112
parent6ea97fe44159dbbcb7bea914654da7f99dc348fa
tpm: Move TCG headers into a separate file

commit 97707f12fdab ("tpm: Support boot measurements") moved out code
from the EFI subsystem into the TPM one to support measurements when
booting with !EFI.

Those were moved directly into the TPM subsystem and in the tpm-v2.c
library. In hindsight, it would have been better to move it in new
files since the TCG2 is governed by its own spec, it's overeall cleaner
and also easier to enable certain parts of the TPM functionality.

So let's start moving the headers in a new file containing the TCG
specific bits.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
boot/bootm.c
include/efi_tcg2.h
include/tpm-v2.h
include/tpm_tcg2.h [new file with mode: 0644]
lib/tpm-v2.c