edk2-stable202005: Update MdePkg/Include/IndustryStandard/SmBios.h
Update MdePkg/Include/IndustryStandard/SmBios.h to avoid compilation errors through safeguarding definitions with DISPLAY_FSP_VERSION_INFO_2 Kconfig. BUG=b:153038236 BRANCH=None TEST=Verify JSLRVP build with all the patches in relation chain and verify the version output prints no junk data observed. Couple of lines from logs are as below. Display FSP Version Info HOB Reference Code - CPU = 8.7.16.10 uCode Version = 0.0.0.1 Change-Id: I9698861be1f969ddca7f171767a54ac486502c74 Signed-off-by: Ronak Kanabar <ronak.kanabar@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45906 Reviewed-by: Subrata Banik <subrata.banik@intel.com> Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
064ca18463
commit
f7e8adac7b
|
@ -1246,6 +1246,7 @@ typedef struct {
|
||||||
UINT8 PortType; ///< The enumeration value from MISC_PORT_TYPE.
|
UINT8 PortType; ///< The enumeration value from MISC_PORT_TYPE.
|
||||||
} SMBIOS_TABLE_TYPE8;
|
} SMBIOS_TABLE_TYPE8;
|
||||||
|
|
||||||
|
#if !CONFIG(DISPLAY_FSP_VERSION_INFO_2)
|
||||||
///
|
///
|
||||||
/// System Slots - Slot Type
|
/// System Slots - Slot Type
|
||||||
///
|
///
|
||||||
|
@ -1358,6 +1359,8 @@ typedef enum {
|
||||||
SlotLengthLong = 0x04
|
SlotLengthLong = 0x04
|
||||||
} MISC_SLOT_LENGTH;
|
} MISC_SLOT_LENGTH;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
///
|
///
|
||||||
/// System Slots - Slot Characteristics 1.
|
/// System Slots - Slot Characteristics 1.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue