aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-06-30 17:15:39 -0400
committerTom Rini <trini@konsulko.com>2020-06-30 17:15:39 -0400
commitbcfe764ee925d0820e82c69ccf75b71d142644c7 (patch)
tree8a9914800558194df74705c06160c24f1aa8248e /lib/efi_loader
parent0b7d95531cf25a7c71bd9855135da5e7098e7b97 (diff)
parentb7cae5739741fad1327e64c18a0b30919bc77a0e (diff)
downloadu-boot-bcfe764ee925d0820e82c69ccf75b71d142644c7.zip
u-boot-bcfe764ee925d0820e82c69ccf75b71d142644c7.tar.gz
u-boot-bcfe764ee925d0820e82c69ccf75b71d142644c7.tar.bz2
Merge tag 'efi-2020-07-rc6-2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2020-07-rc6 (2) Fix an incorrect update of the GD register in efi_get_variable_common(). Fix an incorrect check for an FDT reg property. Fix a device tree used for Python testing.
Diffstat (limited to 'lib/efi_loader')
-rw-r--r--lib/efi_loader/efi_variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c
index 6271dbc..c262cb5 100644
--- a/lib/efi_loader/efi_variable.c
+++ b/lib/efi_loader/efi_variable.c
@@ -606,7 +606,7 @@ static efi_status_t efi_get_variable_common(u16 *variable_name,
u32 attr;
if (!variable_name || !vendor || !data_size)
- return EFI_EXIT(EFI_INVALID_PARAMETER);
+ return EFI_INVALID_PARAMETER;
ret = efi_to_native(&native_name, variable_name, vendor);
if (ret)