From cb5b3a3eb65043fcb422323cfea6567f092c7e05 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Thu, 1 Sep 2016 00:55:40 -0500 Subject: [PATCH] UPSTREAM: 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. BUG=None BRANCH=None TEST=None Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/17851 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth Change-Id: I988d0626b8680740697e1db58eb6d0b87874bfde Reviewed-on: https://chromium-review.googlesource.com/421168 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Furquan Shaikh --- src/include/smbios.h | 1 + 1 file changed, 1 insertion(+) 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));