diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-05-15 19:06:21 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-05-15 21:03:40 +0200 |
commit | 675a6d9a5a7fc21e7fcb348588a3590c0d76e986 (patch) | |
tree | ebec9d89278db2370a52cd3d956c434f7a81568b | |
parent | 633e827f1630b1d93ee11f8667c01712767389b0 (diff) |
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>
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3h/mainboard.c | 12 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3v/mainboard.c | 12 |
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; |