
11 Dec
2018
11 Dec
'18
8:07 p.m.
On 11/28/18 7:00 AM, AKASHI Takahiro wrote:
See UEFI specification v2.7a, section 3.3 for details attributes.
This patch is not applicable to U-Boot master not to efi-next. There is no preceding patch in https://patchwork.ozlabs.org/project/uboot/list/?submitter=61166
I have no clue what this patch is based on.
Best regards
Heinrich
Signed-off-by: AKASHI Takahiro takahiro.akashi@linaro.org
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 db391147fb2d..128d1e887cb4 100644 --- a/lib/efi_loader/efi_bootmgr.c +++ b/lib/efi_loader/efi_bootmgr.c @@ -210,7 +210,8 @@ void *efi_bootmgr_load(int boot_id, if (!bootnext) goto run_list;
- attributes = EFI_VARIABLE_BOOTSERVICE_ACCESS |
- attributes = EFI_VARIABLE_NON_VOLATILE |
size = 0; ret = rs->set_variable(L"BootNext",EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS;