[coreboot-gerrit] Patch merged into coreboot/master: smbios: Calculate SMBIOS Max Struct size

gerrit at coreboot.org gerrit at coreboot.org
Tue Jul 7 08:23:36 CEST 2015


the following patch was just integrated into master:
commit 72af5d79f9f66e59533f00b58b4cc528658c904b
Author: Ben Frisch <bfrisch at gmail.com>
Date:   Sat May 9 19:52:18 2015 -0500

    smbios: Calculate SMBIOS Max Struct size
    
    The SMBIOS Specification 2.3 and up defines Maximum Structure Size
    as the "Size of the largest SMBIOS structure, in bytes, and encompasses
    the structure’s formatted area and text strings." The hardcoded size
    is too small to accurately represent the maximum SMBIOS structure sizes.
    While the field is not used by Linux it is used by some RTOS
    implementations, eg. VxWorks.
    
    TEST=Booted Linux and ran github.com/bfrisch/dmidecode which verified
    the maximum structure size on Minnowboard Max.
    Change-Id: I98087975c53a02857742dea283f4e303485b2ffe
    Signed-off-by: Ben Frisch <bfrisch at gmail.com>
    Reviewed-on: http://review.coreboot.org/10163
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>


See http://review.coreboot.org/10163 for details.

-gerrit



More information about the coreboot-gerrit mailing list