mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-11 09:47:00 +02:00
smbios: type2: contained object handles
The type 2 structure must include information about the contained objects.
It is fine to set the number of contained object handles to 0.
Add the missing field.
Fixes: 721e992a8a
("x86: Add SMBIOS table support")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
e7f9e5eb58
commit
a5866c3c99
@ -139,6 +139,7 @@ struct __packed smbios_type2 {
|
|||||||
u8 chassis_location;
|
u8 chassis_location;
|
||||||
u16 chassis_handle;
|
u16 chassis_handle;
|
||||||
u8 board_type;
|
u8 board_type;
|
||||||
|
u8 number_contained_objects;
|
||||||
char eos[SMBIOS_STRUCT_EOS_BYTES];
|
char eos[SMBIOS_STRUCT_EOS_BYTES];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user