Star Labs has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52795 )
Change subject: Added SMBIOS_FEATURE_FLAG_HOSTING_BOARD ......................................................................
Added SMBIOS_FEATURE_FLAG_HOSTING_BOARD
Signed-off-by: Sean Rhodes sean@starlabs.systems Change-Id: I75492a70cfd69d92828622fcf6ab2b690e4c3081 --- M src/include/smbios.h 1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/52795/1
diff --git a/src/include/smbios.h b/src/include/smbios.h index e5e5df5..ebd6413 100644 --- a/src/include/smbios.h +++ b/src/include/smbios.h @@ -53,6 +53,7 @@ const char *smbios_mainboard_location_in_chassis(void); const char *smbios_chassis_version(void); const char *smbios_chassis_serial_number(void); +const char *smbios_chassis_asset_tag(void); const char *smbios_processor_serial_number(void); u8 smbios_chassis_power_cords(void);
@@ -333,6 +334,14 @@ SMBIOS_BOARD_TYPE_INTERCONNECT_BOARD = 0x0d, } smbios_board_type;
+typedef enum { + SMBIOS_FEATURE_FLAG_HOSTING_BOARD = 0x01, + SMBIOS_FEATURE_FLAG_AUX_REQUIRED = 0x02, + SMBIOS_FEATURE_FLAG_REMOVABLE = 0x04, + SMBIOS_FEATURE_FLAG_REPLACEABLE = 0x08, + SMBIOS_FEATURE_FLAG_HOT_SWAPPABLE = 0x10, +} smbios_feature_flags; + struct smbios_type2 { u8 type; u8 length;