mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02: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:
committed by
Heinrich Schuchardt
parent
cee2cbc731
commit
366161cf97
@@ -210,7 +210,8 @@ efi_status_t efi_bootmgr_load(efi_handle_t *handle)
|
|||||||
ret = EFI_CALL(efi_set_variable(
|
ret = EFI_CALL(efi_set_variable(
|
||||||
L"BootNext",
|
L"BootNext",
|
||||||
(efi_guid_t *)&efi_global_variable_guid,
|
(efi_guid_t *)&efi_global_variable_guid,
|
||||||
0, 0, &bootnext));
|
EFI_VARIABLE_NON_VOLATILE, 0,
|
||||||
|
&bootnext));
|
||||||
|
|
||||||
/* load BootNext */
|
/* load BootNext */
|
||||||
if (ret == EFI_SUCCESS) {
|
if (ret == EFI_SUCCESS) {
|
||||||
|
Reference in New Issue
Block a user