summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRaymond Mao <[email protected]>2025-01-27 06:49:35 -0800
committerIlias Apalodimas <[email protected]>2025-01-28 08:59:23 +0200
commitafe26a74ddfe183b7ea76d5b36d33d2318d02c28 (patch)
tree021316c4ec832d47ee2755035753712b78854f69 /drivers
parentbb894c5da5151e0858e217407c0cdeb989725a4a (diff)
tcg2: decouple eventlog size from efi
Move default eventlog size from efi to tpm for using in both efi and measured boot. Signed-off-by: Raymond Mao <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tpm/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/tpm/Kconfig b/drivers/tpm/Kconfig
index d59102d9a6b..01bc686d367 100644
--- a/drivers/tpm/Kconfig
+++ b/drivers/tpm/Kconfig
@@ -209,6 +209,15 @@ config TPM2_MMIO
to the device using the standard TPM Interface Specification (TIS)
protocol.
+config TPM2_EVENT_LOG_SIZE
+ int "EventLog size"
+ depends on TPM_V2
+ default 65536
+ help
+ Define the size of the EventLog. Note that this is going to be
+ allocated twice. One for the eventlog it self and one for the
+ configuration table that is required from the TCG2 spec
+
endif # TPM_V2
endmenu