aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_setup.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-02-19 20:48:49 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-02-26 19:32:09 +0100
commit76be687288dc618eabd1ef643488cd5bd93f84ff (patch)
tree62e1713fb51d8b3404d16bd8a2280820d02e41f7 /lib/efi_loader/efi_setup.c
parent548ce227d3d852455c6395c0cec30af0cda77b09 (diff)
downloadu-boot-76be687288dc618eabd1ef643488cd5bd93f84ff.zip
u-boot-76be687288dc618eabd1ef643488cd5bd93f84ff.tar.gz
u-boot-76be687288dc618eabd1ef643488cd5bd93f84ff.tar.bz2
efi_loader: implement EFI_RT_PROPERTIES_TABLE
UEFI spec 2.8 errata A replaces the RuntimeServicesSupported variable defined in UEFI spec 2.8 by the configuration table EFI_RT_PROPERTIES_TABLE. So let's follow suit. Cc: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Tested-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'lib/efi_loader/efi_setup.c')
-rw-r--r--lib/efi_loader/efi_setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/efi_loader/efi_setup.c b/lib/efi_loader/efi_setup.c
index de7b616..2060307 100644
--- a/lib/efi_loader/efi_setup.c
+++ b/lib/efi_loader/efi_setup.c
@@ -122,13 +122,13 @@ efi_status_t efi_init_obj_list(void)
if (ret != EFI_SUCCESS)
goto out;
- /* Indicate supported runtime services */
- ret = efi_init_runtime_supported();
+ /* Initialize system table */
+ ret = efi_initialize_system_table();
if (ret != EFI_SUCCESS)
goto out;
- /* Initialize system table */
- ret = efi_initialize_system_table();
+ /* Indicate supported runtime services */
+ ret = efi_init_runtime_supported();
if (ret != EFI_SUCCESS)
goto out;