aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/qfw_smbios.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-27 07:53:29 -0500
committerTom Rini <trini@konsulko.com>2024-01-27 07:53:29 -0500
commitfb5fe1bf84ff489211b333c0165418f0d119d328 (patch)
treefafce57ec527b2586e599584a8e31028507aa23e /drivers/misc/qfw_smbios.c
parente7f9e5eb584dd0b5d1b1ff82fe607d6da9940cc6 (diff)
parent91cc06bcab76dd4b9d07c221b4962283f0984c8e (diff)
Merge tag 'smbios-2024-04-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request smbios-2024-04-rc1-2 * Add missing field to SMBIOS type 2 structure definition * Provide smbios command to display smbios table * Enable the command on sandbox and qemu_arm64_defconfig * Provide a python test for the smbios command * Fix copying SMBIOS 2.1 table from QEMU * Correct EFI TCG measurement to assume SMBIOS 3 table
Diffstat (limited to 'drivers/misc/qfw_smbios.c')
-rw-r--r--drivers/misc/qfw_smbios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/qfw_smbios.c b/drivers/misc/qfw_smbios.c
index 9019345783..a898cb4eea 100644
--- a/drivers/misc/qfw_smbios.c
+++ b/drivers/misc/qfw_smbios.c
@@ -90,7 +90,7 @@ static int qfw_parse_smbios_anchor(struct udevice *dev,
entry->length = sizeof(struct smbios3_entry);
entry->major_ver = entry2->major_ver;
entry->minor_ver = entry2->minor_ver;
- entry->max_struct_size = entry2->max_struct_size;
+ entry->max_struct_size = entry2->struct_table_length;
} else {
ret = -ENOENT;
goto out;