]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: don't use memmove() in efi_var_mem_del()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 22 Jul 2020 05:56:14 +0000 (07:56 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 22 Jul 2020 10:32:41 +0000 (12:32 +0200)
commitdd1e91591240ac8d67cdd27e28dbf331715319fd
treee828eec122ad87fc0425104c763c32b1964db5f4
parent6066a387b48670e012467c7ec32559509936087a
efi_loader: don't use memmove() in efi_var_mem_del()

efi_var_mem_del() is in __efi_runtime because it would be needed for a
runtime implementation of SetVariable(). memmove() is not in __efi_runtime.
So we should not use it in efi_var_mem_del().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_runtime.c
lib/efi_loader/efi_var_mem.c