Skip to content
Permalink
Browse files
Platforms/RaspberryPi: Fix SMBIOS Type 9
FWTS reports an error with SMBIOS Type 9 Segment-Bus-DevFunc fields.
The SMBIOS specification requires that for non-PCIe slot devices to have
these fields reported as 0xFFFFF-0xFF-xFF. Instead, they were being
reported as 0x0000-0x00-0x00.

This fixes the FWTS SMBIOS Type 9 failure reported here:
pftf/RPi4#75

Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
Reviewed-by: Andrei Warkentin <awarkentin@vmware.com>
  • Loading branch information
samerhaj authored and Ard Biesheuvel committed Jun 18, 2020
1 parent 743f501 commit d2c797e22184028cf3a8f3e75737c75ef917b422
Showing 1 changed file with 3 additions and 3 deletions.
@@ -380,9 +380,9 @@ SMBIOS_TABLE_TYPE9 mSysSlotInfoType9 = {
0, // SmbusSignalSupported :1;
0, // Reserved :5; ///< Set to 0.
},
0, // SegmentGroupNum;
0, // BusNum;
0, // DevFuncNum;
0xFFFF, // SegmentGroupNum;
0xFF, // BusNum;
0xFF, // DevFuncNum;
};
CHAR8 *mSysSlotInfoType9Strings[] = {
"SD Card",

0 comments on commit d2c797e

Please sign in to comment.