Tim Chu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48849 )
Change subject: mb/ocp/deltalake: Override SMBIOS type 2 feature flags ......................................................................
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 --- M src/mainboard/ocp/deltalake/ramstage.c 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/48849/1
diff --git a/src/mainboard/ocp/deltalake/ramstage.c b/src/mainboard/ocp/deltalake/ramstage.c index 72a74da..a6a9739 100644 --- a/src/mainboard/ocp/deltalake/ramstage.c +++ b/src/mainboard/ocp/deltalake/ramstage.c @@ -84,6 +84,12 @@ return slot_id_str; }
+u8 smbios_mainboard_feature_flags(void) +{ + /* replaceable, hosting board */ + return 0x9; /* BIT3 + BIT0 */ +} + /* * Override SMBIOS type 4 cpu voltage. * BIT7 will set to 1 after value return. If BIT7 is set to 1, the remaining seven