]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: variable: support APPEND_WRITE
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 6 Sep 2019 06:09:52 +0000 (15:09 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 20 Sep 2019 18:09:18 +0000 (20:09 +0200)
commit51391fc19b5de8aa741bec255a3b2d834672dc86
tree5c76f321f07406d693369ddf45332a5f0d2da88c
parent12ab09d867e713b35ff872ad29d04c2b17659f6e
efi_loader: variable: support APPEND_WRITE

If EFI_VARIABLE_APPEND_WRITE is specified in attributes at
efi_set_variable(), specified data will be appended to the variable's
original value. Attributes other than APPEND_WRITE should not be
modified.

With this patch, APPEND_WRITE test in 'variables' selftest will pass.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
lib/efi_loader/efi_variable.c