efi_loader: make variable store size customizable
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 20 Dec 2020 10:05:38 +0000 (11:05 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 20 Dec 2020 16:40:06 +0000 (17:40 +0100)
commit265ce19485ab8aae9964307e80e0c52f8105c589
tree5b90a6f1c29742bdc2366809bc4aaf211e1d1308
parent0c1b71cd07bf101586508b9d6e91948c0b493885
efi_loader: make variable store size customizable

Currently the size of the buffer to keep UEFI variables in memory is fixed
at 16384 bytes. This size has proven to be too small for some use cases.

Make the size of the memory buffer for UEFI variables customizable.

Reported-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_variable.h
lib/efi_loader/Kconfig