From patchwork Sun May 17 19:25:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 245930 List-Id: U-Boot discussion From: ilias.apalodimas at linaro.org (Ilias Apalodimas) Date: Sun, 17 May 2020 22:25:42 +0300 Subject: [PATCH 0/7 v4] EFI variable support via OP-TEE Message-ID: <20200517192549.575903-1-ilias.apalodimas@linaro.org> Hi! This is the v4 of the patchset adding EFI variable support via OP-TEE originally posted here [1] [2] [3] changes since v3: * patch 3: - remove the default attributes if the user doesn't specify any - print the EFI error message coming from StMM in case of failure * patch 6: - Align the defconfig with the existing lx2160ardb one * patch 7 (new patch) - Add an OP-TEE node on lx2160ardb dts [1] https://lists.denx.de/pipermail/u-boot/2020-May/410772.html [2] https://lists.denx.de/pipermail/u-boot/2020-May/411603.html [3] https://lists.denx.de/pipermail/u-boot/2020-May/412223.html Ilias Apalodimas (6): 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 configs: lx2160a: Add default config for lx2160a using StMM in OP-TEE dts: nxp2160ardb: add op-tee node Sughosh Ganu (1): efi_loader: Add headers for EDK2 StandAloneMM communication MAINTAINERS | 6 + arch/arm/dts/fsl-lx2160a.dtsi | 6 + board/freescale/lx2160a/MAINTAINERS | 1 + cmd/efidebug.c | 58 ++- configs/lx2160ardb_tfa_stmm_defconfig | 85 ++++ doc/uefi/uefi.rst | 17 + include/mm_communication.h | 208 ++++++++ lib/efi_loader/Kconfig | 9 + lib/efi_loader/Makefile | 4 + lib/efi_loader/efi_variable_tee.c | 662 ++++++++++++++++++++++++++ 10 files changed, 1055 insertions(+), 1 deletion(-) create mode 100644 configs/lx2160ardb_tfa_stmm_defconfig create mode 100644 include/mm_communication.h create mode 100644 lib/efi_loader/efi_variable_tee.c