summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-05-15 19:06:21 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-05-15 21:03:40 +0200
commit675a6d9a5a7fc21e7fcb348588a3590c0d76e986 (patch)
treeebec9d89278db2370a52cd3d956c434f7a81568b /src/mainboard/gigabyte
parent633e827f1630b1d93ee11f8667c01712767389b0 (diff)
downloadcoreboot-675a6d9a5a7fc21e7fcb348588a3590c0d76e986.tar.xz
gigabyte/ga-b75m-d3: Fix SMBios version entry
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 <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/10213 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Diffstat (limited to 'src/mainboard/gigabyte')
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3h/mainboard.c12
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c12
2 files changed, 0 insertions, 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 <smbios.h>
#include <device/pci.h>
#include <cbfs.h>
-#include <build.h>
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 <smbios.h>
#include <device/pci.h>
#include <cbfs.h>
-#include <build.h>
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;