diff options
author | Tim Chu <Tim.Chu@quantatw.com> | 2020-12-21 23:33:18 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-03-15 06:12:40 +0000 |
commit | e82aa2238d48864a5f8937c2193ee9d09cc0c4d0 (patch) | |
tree | 5e97e1d6533cbcf1023657c9b0050c412278fba1 /src/mainboard/ocp/deltalake | |
parent | 4f4e86ec5ef8e8f2e72c3c81f4c944100a7f2894 (diff) | |
download | coreboot-e82aa2238d48864a5f8937c2193ee9d09cc0c4d0.tar.xz |
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>
Diffstat (limited to 'src/mainboard/ocp/deltalake')
-rw-r--r-- | src/mainboard/ocp/deltalake/ramstage.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/ocp/deltalake/ramstage.c b/src/mainboard/ocp/deltalake/ramstage.c index 7c79949a6c..211ba0f7b6 100644 --- a/src/mainboard/ocp/deltalake/ramstage.c +++ b/src/mainboard/ocp/deltalake/ramstage.c @@ -56,6 +56,12 @@ const char *smbios_mainboard_location_in_chassis(void) return slot_id_str; } +/* Override SMBIOS type 2 Feature Flags */ +u8 smbios_mainboard_feature_flags(void) +{ + return SMBIOS_FEATURE_FLAGS_HOSTING_BOARD | SMBIOS_FEATURE_FLAGS_REPLACEABLE; +} + /* * Override SMBIOS type 4 cpu voltage. * BIT7 will set to 1 after value return. If BIT7 is set to 1, the remaining seven |