]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: increase eventlog buffer size
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Wed, 14 Jul 2021 13:00:01 +0000 (22:00 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Jul 2021 12:43:56 +0000 (14:43 +0200)
TCG PC Client PFP spec says "The Log Area Minimum Length
for the TCG event log MUST be at least 64KB." in ACPI chapter.
This commit increase the buffer size to 64KB.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/Kconfig

index a135d2f7093ab2a897a500770edb77aa1be2f3a7..7a469f227211fae639f3c7a7b52d9753706f93ed 100644 (file)
@@ -327,7 +327,7 @@ config EFI_TCG2_PROTOCOL
 config EFI_TCG2_PROTOCOL_EVENTLOG_SIZE
        int "EFI_TCG2_PROTOCOL EventLog size"
        depends on EFI_TCG2_PROTOCOL
-       default 4096
+       default 65536
        help
                Define the size of the EventLog for EFI_TCG2_PROTOCOL. Note that
                this is going to be allocated twice. One for the eventlog it self