]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: prepare for read only OP-TEE variables
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 22 Jun 2020 16:10:27 +0000 (18:10 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 11 Jul 2020 21:14:16 +0000 (23:14 +0200)
commitf2d2b3a11ce18663ea95c29eb2c609efd77b7999
treefd8efa3a96100832d69e1a48dec31fa8b246bb23
parent5a8d1f60b2505cf2ee116ac38e54e65b757a1773
efi_loader: prepare for read only OP-TEE variables

We currently have two implementations of UEFI variables:

* variables provided via an OP-TEE module
* variables stored in the U-Boot environment

Read only variables are up to now only implemented in the U-Boot
environment implementation.

Provide a common interface for both implementations that allows handling
read-only variables.

As variable access is limited to very few source files put variable
related definitions into new include efi_variable.h instead of efi_loader.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
doc/api/efi.rst
include/efi_variable.h [new file with mode: 0644]
lib/efi_loader/Makefile
lib/efi_loader/efi_var_common.c [new file with mode: 0644]
lib/efi_loader/efi_variable.c
lib/efi_loader/efi_variable_tee.c