summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2020-04-11 09:14:48 -0600
committerAaron Durbin <adurbin@chromium.org>2020-04-13 15:03:48 +0000
commit4ed96f2443f0e15d64df1449ec29af8520d9bfb9 (patch)
tree9371b3ce8467f0204a85af21719f581d806118ec /src/mainboard/google/dedede
parentd2d93829bbe121c641973e87da658b2fa8204259 (diff)
downloadcoreboot-4ed96f2443f0e15d64df1449ec29af8520d9bfb9.tar.xz
ec/google/chromeec: add smbios_mainboard_manufacturer()
When EC_GOOGLE_CHROMEEC_SKUID is selected provide an implementation of smbios_mainboard_manufacturer() so the code doesn't need to be duplicated in the mainboards. BUG=b:153767369 Change-Id: Ib65fe373a79d606cffcba71882b0db61be5a18c3 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40317 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/dedede')
-rw-r--r--src/mainboard/google/dedede/board_info.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mainboard/google/dedede/board_info.c b/src/mainboard/google/dedede/board_info.c
index d49ae9692a..1d1e069372 100644
--- a/src/mainboard/google/dedede/board_info.c
+++ b/src/mainboard/google/dedede/board_info.c
@@ -11,25 +11,6 @@
#include <smbios.h>
#include <string.h>
-const char *smbios_mainboard_manufacturer(void)
-{
- static char oem_name[32];
- static const char *manuf;
-
- if (manuf)
- return manuf;
-
- if (google_chromeec_cbi_get_oem_name(&oem_name[0],
- ARRAY_SIZE(oem_name)) < 0) {
- printk(BIOS_ERR, "Couldn't obtain OEM name from CBI\n");
- manuf = CONFIG_MAINBOARD_SMBIOS_MANUFACTURER;
- } else {
- manuf = &oem_name[0];
- }
-
- return manuf;
-}
-
int board_info_get_fw_config(uint32_t *fw_config)
{
return google_chromeec_cbi_get_fw_config(fw_config);