aboutsummaryrefslogtreecommitdiff
path: root/include/smbios.h
diff options
context:
space:
mode:
authorMasahisa Kojima2024-01-26 09:53:42 +0900
committerHeinrich Schuchardt2024-01-26 14:16:17 +0100
commit2497f6a84c0b906551d08054a631b86942cb4fa9 (patch)
treea63258e146c46efca9daed3d1257fa4e2d702420 /include/smbios.h
parentd4f721bc141354fb2f8fc7bf407ef63399e8e155 (diff)
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 <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/smbios.h')
-rw-r--r--include/smbios.h4
1 files changed, 2 insertions, 2 deletions
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_ */