]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: UEFI variable persistence
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 19 Mar 2020 18:21:58 +0000 (18:21 +0000)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 11 Jul 2020 21:14:17 +0000 (23:14 +0200)
commit5f7dcf079de8caa5ef9c332c928bd6a3c3d12335
treeddf013d100f421c5ed3c6320687913dc3bc921f6
parent198bf6418efa282ddb9392d352a2afef20585020
efi_loader: UEFI variable persistence

Persist non-volatile UEFI variables in a file on the EFI system partition.

The file is written whenever a non-volatile UEFI variable is changed after
initialization of the UEFI sub-system.

The file is read during the UEFI sub-system initialization to restore
non-volatile UEFI variables.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_variable.h
lib/efi_loader/Kconfig
lib/efi_loader/Makefile
lib/efi_loader/efi_var_file.c [new file with mode: 0644]
lib/efi_loader/efi_variable.c