summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2024-07-23 16:44:23 +0200
committerHeinrich Schuchardt <[email protected]>2024-07-31 08:29:16 +0200
commit8c919fcd20ce0a832c6e4fc4413ebac0d2a8f125 (patch)
tree50a7fa14094af4c320d221253cc250e0547e773a /include
parent272df36494a5d98805a83df2f1b6d026854e2a57 (diff)
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 <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/smbios.h1
1 files changed, 1 insertions, 0 deletions
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];
};