efi: libstub/tpm: enable tpm eventlog function for ARM platforms
authorXinwei Kong <kong.kongxinwei@hisilicon.com>
Thu, 7 Nov 2019 08:24:21 +0000 (16:24 +0800)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 7 Nov 2019 09:18:45 +0000 (10:18 +0100)
commitd99c1ba6a73b9e93e2884b7893fe19e3c082ba03
treea45a45d098ccecd7edfc3303e38ab4699568e8f5
parent0d95981438c3bdb53cc99b0fb656d24d7a80e1f3
efi: libstub/tpm: enable tpm eventlog function for ARM platforms

Wire up the existing code for ARM that loads the TPM event log into
OS accessible buffers while running the EFI stub so that the kernel
proper can access it at runtime.

Tested-by: Zou Cao <zoucao@linux.alibaba.com>
Signed-off-by: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/arm-stub.c