Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74819 )
Change subject: mb/google/fizz: Override SMBIOS product name based on OEM ID ......................................................................
mb/google/fizz: Override SMBIOS product name based on OEM ID
Use the OEM ID from CBI to determine the correct OEM board name. ID mapping taken from ChromeEC source, branch firmware-fizz-10139.B.
TEST=build/boot multiple fizz variants, check that board name reported correctly in SMBIOS tables.
Change-Id: I06251974ac73570b911920ed566a175e8e733710 Signed-off-by: Matt DeVillier matt.devillier@gmail.com --- M src/mainboard/google/fizz/mainboard.c 1 file changed, 35 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/74819/1
diff --git a/src/mainboard/google/fizz/mainboard.c b/src/mainboard/google/fizz/mainboard.c index b0d94a0..f37b70f 100644 --- a/src/mainboard/google/fizz/mainboard.c +++ b/src/mainboard/google/fizz/mainboard.c @@ -179,6 +179,25 @@ return sku_str; }
+const char *fizz_oem_name[] = { + "Kench", + "Teemo", + "Sion", + "Wukong", + "Wukong", + "Wukong", + "Teemo", + "", + "Jax", + "", + "Excelsior" +}; + +const char *smbios_mainboard_product_name(void) +{ + return fizz_oem_name[board_oem_id()]; +} + static void mainboard_init(struct device *dev) { mainboard_ec_init();