[coreboot-gerrit] New patch to review for coreboot: 10a7811 gigabyte/ga-b75m-d3: Fix SMBios version entry

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Fri May 15 18:08:41 CEST 2015


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10213

-gerrit

commit 10a7811f5ef0b23c542b52e891f531dd7a9c45b7
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Fri May 15 19:06:21 2015 +0300

    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 at gmail.com>
---
 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 0124baa..5054f41 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 0124baa..5054f41 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;



More information about the coreboot-gerrit mailing list