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>
This commit is contained in:
parent
633e827f16
commit
675a6d9a5a
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue