diff options
author | Tom Rini <trini@konsulko.com> | 2019-07-08 16:02:51 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-08 16:02:51 -0400 |
commit | cad28d37d5146cf293fe841c7c8e6f658c8a4940 (patch) | |
tree | 1181bd0941a69e8b690fa62d1eeaee2bbee90488 /lib/efi_loader/efi_setup.c | |
parent | 0b7f1a95df8fe312ff8f1f548f51e6d656e8e67e (diff) | |
parent | 7f95104d91ccfb26f802feb5300838b41bc5fbb1 (diff) |
Merge tag 'efi-2019-10-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for v2019.10-rc1
Fix a possible overflow for GUID partition tables.
For some runtime services we only have implementations valid at boottime.
So we replace them when leaving boottime. Move this from
SetVirtualAddressMap() to ExitBootServices() as SetVirtualAddressMap() is
not called by all operating systems. Adjust the Python tests accordingly.
Bump the supported UEFI specification version to 2.8.
Diffstat (limited to 'lib/efi_loader/efi_setup.c')
-rw-r--r-- | lib/efi_loader/efi_setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_setup.c b/lib/efi_loader/efi_setup.c index bfb57836fa9..de7b616c6da 100644 --- a/lib/efi_loader/efi_setup.c +++ b/lib/efi_loader/efi_setup.c @@ -102,6 +102,11 @@ efi_status_t efi_init_obj_list(void) /* On ARM switch from EL3 or secure mode to EL2 or non-secure mode */ switch_to_non_secure_mode(); + /* Initialize variable services */ + ret = efi_init_variables(); + if (ret != EFI_SUCCESS) + goto out; + /* Define supported languages */ ret = efi_init_platform_lang(); if (ret != EFI_SUCCESS) |