From 675a6d9a5a7fc21e7fcb348588a3590c0d76e986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 15 May 2015 19:06:21 +0300 Subject: [PATCH] gigabyte/ga-b75m-d3: Fix SMBios version entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These boards are not ThinkPads. Furthermore, autogenerated build.h might not be generated yet to be included. Change-Id: I084f632d45477abf5e3cb1b734e8048f554423ec Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/10213 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Vladimir Serbinenko --- src/mainboard/gigabyte/ga-b75m-d3h/mainboard.c | 12 ------------ src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/mainboard.c b/src/mainboard/gigabyte/ga-b75m-d3h/mainboard.c index 0124baa179..5054f41135 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/mainboard.c +++ b/src/mainboard/gigabyte/ga-b75m-d3h/mainboard.c @@ -35,7 +35,6 @@ #include #include #include -#include void mainboard_suspend_resume(void) { @@ -43,17 +42,6 @@ void mainboard_suspend_resume(void) outb(0xcb, 0xb2); } -const char *smbios_mainboard_bios_version(void) -{ - /* Satisfy thinkpad_acpi. */ - if (strlen(CONFIG_LOCALVERSION)) - return "CBET4000 " CONFIG_LOCALVERSION; - else - return "CBET4000 " COREBOOT_VERSION; -} - - - static void mainboard_init(device_t dev) { RCBA32(0x38c8) = 0x00002005; diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c b/src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c index 0124baa179..5054f41135 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c +++ b/src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c @@ -35,7 +35,6 @@ #include #include #include -#include void mainboard_suspend_resume(void) { @@ -43,17 +42,6 @@ void mainboard_suspend_resume(void) outb(0xcb, 0xb2); } -const char *smbios_mainboard_bios_version(void) -{ - /* Satisfy thinkpad_acpi. */ - if (strlen(CONFIG_LOCALVERSION)) - return "CBET4000 " CONFIG_LOCALVERSION; - else - return "CBET4000 " COREBOOT_VERSION; -} - - - static void mainboard_init(device_t dev) { RCBA32(0x38c8) = 0x00002005;