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 v3: - Applied Daniel's R-b tags - Added patches 2 & 3/7 for cleaning up of IEEE1275_IHANDLE_INVALID - Using bools instead of ints - Fixed commit messages 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 (7): tss2: Adjust bit fields for big endian targets ieee1275/serial: Cast 0 to proper type ieee1275: Consolidate repeated definitions of IEEE1275_IHANDLE_INVALID ieee1275/ibmvpm: Move TPM initializaton functions to own file 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 | 159 ++++++++++++++++++++++++++ grub-core/lib/tss2/tss2_structs.h | 38 ++++++ grub-core/term/ieee1275/serial.c | 8 +- include/grub/ieee1275/ieee1275.h | 1 + include/grub/ieee1275/tpm.h | 30 +++++ 7 files changed, 238 insertions(+), 47 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