aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_var_file.c
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2023-11-06 17:47:53 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-11-20 19:06:22 +0100
commita8062549d6ba81e41596adab83f80e8f819f491d (patch)
tree1639fd5826fddb18ec880ec6ce8c3738413def24 /lib/efi_loader/efi_var_file.c
parent9781ec984071d11f73604dfd756f260ca98404bc (diff)
efi_loader: Increase default variable store size to 128K
In commit 9fd3f881c6ed ("efi_loader: Increase default variable store size to 64KiB") Alper has a detailed explanation of why the size needs to be bumped to at least 64K. However enabling Secure boot, writing db, KEK, PK etc keys will further increase the size so bump it to 128K. It's worth noting that when U-Boot stores the EFI variables in an RPMB the available storage is defined statically in StandAloneMM at build time. The U-Boot code is detecting the available true size on the fly during writes. When StandAloneMM is present this size defines the reserved memory U-Boot can use to copy any runtime variables, before booting an OS. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_var_file.c')
0 files changed, 0 insertions, 0 deletions