From patchwork Mon May 11 18:13:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 245602 List-Id: U-Boot discussion From: ilias.apalodimas at linaro.org (Ilias Apalodimas) Date: Mon, 11 May 2020 21:13:58 +0300 Subject: [PATCH 0/6 v2] EFI variable support via OP-TEE Message-ID: <20200511181403.19448-1-ilias.apalodimas@linaro.org> Hi! This is the v2 of the patchset adding EFI variable support via OP-TEE originally posted here [1] Changes since v1: * patch #2: - Fix Copyright issues - Merge the include files in mm_communication.h - Rename some variables and follow EDK2 naming - Added proper documentation on struct definitions - Add missing defines (unused but good to have there) - Use flexible array members on structs and replace data[1] with data[] * patch #3: - Adjust efi_variable_tee.c to header file changes and fix typos * patch #4: - Remove EFI_HANDLE_WIDTH on printing - Rephrase 'efidebug query' help message * patch #5 - Move mm_communication.h maintenership * patch #6 - Heinrich's suggestion, on the help file, was a lot cleaner and easier to understand. Using it as-is [1] https://lists.denx.de/pipermail/u-boot/2020-May/410772.html Ilias Apalodimas (4): efi_loader: Implement EFI variable handling via OP-TEE cmd: efidebug: Add support for querying UEFI variable storage MAINTAINERS: Add maintainer for EFI variables via OP-TEE doc: uefi.rst: Add OP-TEE variable storage config options Sughosh Ganu (1): efi_loader: Add headers for EDK2 StandAloneMM communication MAINTAINERS | 6 + cmd/efidebug.c | 44 +- doc/uefi/uefi.rst | 17 + include/mm_communication.h | 207 ++++++++++ lib/efi_loader/Kconfig | 9 + lib/efi_loader/Makefile | 4 + lib/efi_loader/efi_variable_tee.c | 643 ++++++++++++++++++++++++++++++ 7 files changed, 929 insertions(+), 1 deletion(-) create mode 100644 include/mm_communication.h create mode 100644 lib/efi_loader/efi_variable_tee.c