diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2019-06-04 09:52:09 +0300 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-06-05 00:56:14 +0300 |
commit | 366161cf976c41f2cfabbb896c8f9a94c31886ce (patch) | |
tree | 4f1656648def354133f20fb30304798f024f5b64 /lib/efi_loader/efi_bootmgr.c | |
parent | cee2cbc73173a871a5c65e9e55f3d98a6fd71325 (diff) | |
download | u-boot-366161cf976c41f2cfabbb896c8f9a94c31886ce.tar.xz |
efi_loader: bootmgr: make BootNext non-volatile
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi_loader/efi_bootmgr.c')
-rw-r--r-- | lib/efi_loader/efi_bootmgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c index 43791422c8..b2102c5b5a 100644 --- a/lib/efi_loader/efi_bootmgr.c +++ b/lib/efi_loader/efi_bootmgr.c @@ -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) { |