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 <raymond.mao@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
@@ -216,6 +216,15 @@ config TPM2_EFI
|
||||
This driver supports the use of UEFI firmware-provided drivers for
|
||||
interfacing with a TPM 2.
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user