[coreboot-gerrit] New patch to review for coreboot: smbios.h: add missing SKU field to type3 table

Matt DeVillier (matt.devillier@gmail.com) gerrit at coreboot.org
Tue Dec 13 21:22:41 CET 2016


Matt DeVillier (matt.devillier at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17851

-gerrit

commit 66c3644cefffde9f866645f80a35aa0dd2401fe1
Author: Matt DeVillier <matt.devillier at gmail.com>
Date:   Thu Sep 1 00:55:40 2016 -0500

    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 at gmail.com>
---
 src/include/smbios.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/include/smbios.h b/src/include/smbios.h
index 758a9cd..785ceec 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));
 



More information about the coreboot-gerrit mailing list