mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 22:36:05 +00:00
efi_loader: bootmgr: make BootNext non-volatile
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
cee2cbc731
commit
366161cf97
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@ efi_status_t efi_bootmgr_load(efi_handle_t *handle)
|
|||
ret = EFI_CALL(efi_set_variable(
|
||||
L"BootNext",
|
||||
(efi_guid_t *)&efi_global_variable_guid,
|
||||
0, 0, &bootnext));
|
||||
EFI_VARIABLE_NON_VOLATILE, 0,
|
||||
&bootnext));
|
||||
|
||||
/* load BootNext */
|
||||
if (ret == EFI_SUCCESS) {
|
||||
|
|
Loading…
Add table
Reference in a new issue