aboutsummaryrefslogtreecommitdiff
path: root/src/include/smbios.h
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2016-09-01 00:55:40 -0500
committerNico Huber <nico.h@gmx.de>2016-12-15 23:43:07 +0100
commit4863cc45a80dd690eceb5f23c9d035ee43db5a34 (patch)
tree3d6aba836e0f5f7addf2fb5a687f2d7ba99e03e8 /src/include/smbios.h
parent678923c2b7f8c50746be4e49f9ad3ccd1ca11c45 (diff)
smbios.h: add missing SKU field to type3 table
The type3 SMBIOS table has a non-optional SKU field at the end, which causes a parsing error when missing. Add but do not populate it. Change-Id: I988d0626b8680740697e1db58eb6d0b87874bfde Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/17851 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/smbios.h')
-rw-r--r--src/include/smbios.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 758a9cd72b..785ceec77d 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -300,6 +300,7 @@ struct smbios_type3 {
u8 number_of_power_cords;
u8 element_count;
u8 element_record_length;
+ u8 sku_number;
char eos[2];
} __attribute__((packed));