mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi_loader: pre-seed UEFI variables
Include a file with the initial values for non-volatile UEFI variables into the U-Boot binary. If this variable is set, changes to variable PK will not be allowed. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
99bfab8b58
commit
7dda16343d
7 changed files with 73 additions and 10 deletions
|
@ -138,6 +138,14 @@ struct efi_var_file {
|
|||
*/
|
||||
efi_status_t efi_var_to_file(void);
|
||||
|
||||
/**
|
||||
* efi_var_restore() - restore EFI variables from buffer
|
||||
*
|
||||
* @buf: buffer
|
||||
* Return: status code
|
||||
*/
|
||||
efi_status_t efi_var_restore(struct efi_var_file *buf);
|
||||
|
||||
/**
|
||||
* efi_var_from_file() - read variables from file
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue