mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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 <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/17851 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com> Change-Id: I988d0626b8680740697e1db58eb6d0b87874bfde Reviewed-on: https://chromium-review.googlesource.com/421168 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
79d89b1369
commit
cb5b3a3eb6
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue