
On 12/23/21 15:51, Jose Marinho wrote:
patch v2:
- address v1 comments
- define EFI_EBBR_2_0_CONFORMANCE unconditionally.
- introduce ECPT EFI selftet
- drop the efidebug ECPT print
The Conformance Profiles Table (ECPT) table will be included in the UEFI specification 2.9+.
@Samer:
The current spec draft assuming compliance if the table is not present makes no sense and needs to be fixed. U-Boot should not create a precedent of an implementation of this broken design.
@Jose:
As you cannot define under which circumstances the EBBR 2.0 GUID should be set we should not implement this table at all.
Best regards
Heinrich
The ECPT table was introduced in UEFI following the code-first path. The acceptance ticket can be viewed at: https://bugzilla.tianocore.org/show_bug.cgi?id=3591
This patch set implements the ECPT table in U-boot.
Jose Marinho (3): efi: Create ECPT table efi: ECPT add EBBRv2.0 conformance profile efi: ECPT EFI selftest
cmd/efidebug.c | 4 + include/efi_api.h | 14 ++++ include/efi_loader.h | 7 ++ lib/efi_loader/Kconfig | 11 +++ lib/efi_loader/Makefile | 1 + lib/efi_loader/efi_conformance.c | 75 +++++++++++++++++++ lib/efi_loader/efi_setup.c | 6 ++ lib/efi_selftest/Makefile | 2 + lib/efi_selftest/efi_selftest_ecpt.c | 105 +++++++++++++++++++++++++++ 9 files changed, 225 insertions(+) create mode 100644 lib/efi_loader/efi_conformance.c create mode 100644 lib/efi_selftest/efi_selftest_ecpt.c