mb/ocp/deltalake: Override SMBIOS type 2 feature flags
Override SMBIOS type 2 board feature flags. For Delta Lake, board is replaceable and is a hosting board. Tested=Execute "dmidecode -t 2" to check info is correct. Signed-off-by: Tim Chu <Tim.Chu@quantatw.com> Change-Id: I4469360ec51369dbf8179b3cbac0519ead7f0382 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48849 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
This commit is contained in:
@@ -311,6 +311,12 @@ struct smbios_type1 {
|
||||
u8 eos[2];
|
||||
} __packed;
|
||||
|
||||
#define SMBIOS_FEATURE_FLAGS_HOSTING_BOARD (1 << 0)
|
||||
#define SMBIOS_FEATURE_FLAGS_REQUIRES_DAUGHTER_CARD (1 << 1)
|
||||
#define SMBIOS_FEATURE_FLAGS_REMOVABLE (1 << 2)
|
||||
#define SMBIOS_FEATURE_FLAGS_REPLACEABLE (1 << 3)
|
||||
#define SMBIOS_FEATURE_FLAGS_HOT_SWAPPABLE (1 << 4)
|
||||
|
||||
typedef enum {
|
||||
SMBIOS_BOARD_TYPE_UNKNOWN = 0x01,
|
||||
SMBIOS_BOARD_TYPE_OTHER = 0x02,
|
||||
|
Reference in New Issue
Block a user