From 8c919fcd20ce0a832c6e4fc4413ebac0d2a8f125 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Tue, 23 Jul 2024 16:44:23 +0200 Subject: smbios: add extended Extended BIOS ROM Size U-Boot claims to create SMBIOS 3.7 tables. The type 0 table has a field Extended BIOS ROM Size since version 3.1. BIOS ROM sizes of 16 MiB or above must be written to this field. Add and fill the missing field. Signed-off-by: Heinrich Schuchardt --- include/smbios.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/smbios.h b/include/smbios.h index a4fda9df7bd..00119d7a60c 100644 --- a/include/smbios.h +++ b/include/smbios.h @@ -105,6 +105,7 @@ struct __packed smbios_type0 { u8 bios_minor_release; u8 ec_major_release; u8 ec_minor_release; + u16 extended_bios_rom_size; char eos[SMBIOS_STRUCT_EOS_BYTES]; }; -- cgit v1.3.1