summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_variable_tee.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-20 10:49:23 -0500
committerTom Rini <trini@konsulko.com>2021-01-20 10:49:23 -0500
commit404bbc809da50fcf0b63566803d5061f80d93885 (patch)
tree8c1ab4fbb0e4a5a929b53f4d702e4acb3b001611 /lib/efi_loader/efi_variable_tee.c
parent63f2607bc8012f5f0e20005a7bc2285ebb5248d4 (diff)
parent53e54bf50d285597c1553cdf2bd0e646fcd4dd60 (diff)
Merge tag 'efi-2021-04-rc1-2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2021-04-rc1-2 * Provide a test tool for initial RAM disk provided via load file2 protocol. * Make more items configurable to reduce code size: * Boot manager * EFI_DT_FIXUP_PROTOCOL * EFI_DEVICE_PATH_UTILITIES_PROTOCOL * Bug fixes * avoid EFI runtime symbols in global symbol table
Diffstat (limited to 'lib/efi_loader/efi_variable_tee.c')
-rw-r--r--lib/efi_loader/efi_variable_tee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_variable_tee.c b/lib/efi_loader/efi_variable_tee.c
index b8808fdecad..51920bcb51a 100644
--- a/lib/efi_loader/efi_variable_tee.c
+++ b/lib/efi_loader/efi_variable_tee.c
@@ -702,7 +702,7 @@ void efi_variables_boot_exit_notify(void)
if (ret != EFI_SUCCESS)
log_err("Can't populate EFI variables. No runtime variables will be available\n");
else
- memcpy(efi_var_buf, var_buf, len);
+ efi_var_buf_update(var_buf);
free(var_buf);
/* Update runtime service table */