From 2497f6a84c0b906551d08054a631b86942cb4fa9 Mon Sep 17 00:00:00 2001 From: Masahisa Kojima Date: Fri, 26 Jan 2024 09:53:42 +0900 Subject: efi_loader: migrate SMBIOS 3.0 entry point structure for measurement Current U-Boot only supports the SMBIOS 3.0 entry point structure. TCG2 measurement code should migrate to SMBIOS 3.0 entry point structure. efi_selftest tcg2 test also needs to be updated, and expected PCR[1] result is changed since guid for SMBIOS EFI system table uses different guid SMBIOS3_TABLE_GUID instead of SMBIOS_TABLE_GUID. Signed-off-by: Masahisa Kojima Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- include/smbios.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/smbios.h') diff --git a/include/smbios.h b/include/smbios.h index 98bb9e52cdf..e2b7f695846 100644 --- a/include/smbios.h +++ b/include/smbios.h @@ -327,10 +327,10 @@ int smbios_update_version_full(void *smbios_tab, const char *version); * This function clear the device dependent parameters such as * serial number for the measurement. * - * @entry: pointer to a struct smbios_entry + * @entry: pointer to a struct smbios3_entry * @header: pointer to a struct smbios_header */ -void smbios_prepare_measurement(const struct smbios_entry *entry, +void smbios_prepare_measurement(const struct smbios3_entry *entry, struct smbios_header *header); #endif /* _SMBIOS_H_ */ -- cgit v1.2.3