This series of patches enables the 'Automatic Disk Unlock with TPM2' support for ieee1275 PowerPC platforms. It adds a TCG2 driver for this platform, which has the same API as the one for EFI. Further, it adjusts the definition of TPM 2 related bit fields for big endian targets.
Regards, Stefan v2: - Applied Gary's R-b tag to 1/5 - Split v1 2/2 into 4 patches - Refactoring of grub_ieee1275_tpm_init Stefan Berger (5): tss2: Adjust bit fields for big endian targets ieee1275/ibmvtpm: Move initializaton functions to TCG2 driver ieee1275/tcg2: Refactor grub_ieee1275_tpm_init ieee1275/tcg2: Add TCG2 driver for ieee1275 PowerPC firmware tpm2_key_protector: Enable build for powerpc_ieee1275 grub-core/Makefile.core.def | 3 + grub-core/commands/ieee1275/ibmvtpm.c | 46 +------- grub-core/lib/ieee1275/tcg2.c | 156 ++++++++++++++++++++++++++ grub-core/lib/tss2/tss2_structs.h | 38 +++++++ include/grub/ieee1275/tpm.h | 32 ++++++ 5 files changed, 233 insertions(+), 42 deletions(-) create mode 100644 grub-core/lib/ieee1275/tcg2.c create mode 100644 include/grub/ieee1275/tpm.h -- 2.25.1 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel