summaryrefslogtreecommitdiff
path: root/include/tpm-v2.h
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2023-02-16 17:29:48 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-02-19 21:15:15 +0100
commitaa2d3945ce6df43903d76cadde1c0669d6d5d43b (patch)
tree9a178c2030488c7a67cd99e44beb2b7305724f20 /include/tpm-v2.h
parenta135320b428a09b7856bb06c248eca0ffffb60f5 (diff)
efi_loader: Measure the loaded DTB
Measures the DTB passed to the EFI application upon new boolean config switch CONFIG_EFI_TCG2_PROTOCOL_MEASURE_DTB. For platforms where the content of the DTB passed to the OS can change across reboots, there is not point measuring it hence the config switch to allow platform to not embed this feature. Co-developed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/tpm-v2.h')
-rw-r--r--include/tpm-v2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tpm-v2.h b/include/tpm-v2.h
index 737e57551d7..2df3dad5532 100644
--- a/include/tpm-v2.h
+++ b/include/tpm-v2.h
@@ -105,6 +105,8 @@ struct udevice;
"Exit Boot Services Returned with Failure"
#define EFI_EXIT_BOOT_SERVICES_SUCCEEDED \
"Exit Boot Services Returned with Success"
+#define EFI_DTB_EVENT_STRING \
+ "DTB DATA"
/* TPMS_TAGGED_PROPERTY Structure */
struct tpms_tagged_property {