[U-Boot] [PATCH v3 5/7] efi_loader: bootmgr: make BootNext non-volatile
Heinrich Schuchardt
xypron.glpk at gmx.de
Tue Jun 4 21:46:51 UTC 2019
On 6/4/19 8:52 AM, AKASHI Takahiro wrote:
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
Reviewed by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> lib/efi_loader/efi_bootmgr.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c
> index 43791422c819..b2102c5b5af2 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) {
>
More information about the U-Boot
mailing list