summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x60
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2013-07-17 22:07:10 +0200
committerPeter Stuge <peter@stuge.se>2013-07-17 22:47:44 +0200
commitbe8b99de73797a6e75ec98603c529985249f11d8 (patch)
tree8dba58b87f653db99d16972e23c9e586be658211 /src/mainboard/lenovo/x60
parentcd24e3f6a7adecfc9d3b2a2dd2f81d84acffa91b (diff)
Revert "lenovo/x60: Add "IBM ThinkPad Embedded Controller" SMBIOS OEM String"
This reverts commit cd24e3f6a7adecfc9d3b2a2dd2f81d84acffa91b. Change-Id: I3d1fec75d99d0b480a47b4d433c14a681831d9f8 Signed-off-by: Peter Stuge <peter@stuge.se> Reviewed-on: http://review.coreboot.org/3778 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo/x60')
-rw-r--r--src/mainboard/lenovo/x60/mainboard.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c
index 2f312f0287..b344ccb364 100644
--- a/src/mainboard/lenovo/x60/mainboard.c
+++ b/src/mainboard/lenovo/x60/mainboard.c
@@ -36,7 +36,6 @@
#include <pc80/mc146818rtc.h>
#include "dock.h"
#include <arch/x86/include/arch/acpigen.h>
-#include <smbios.h>
#include <x86emu/x86emu.h>
#define PANEL INT15_5F35_CL_DISPLAY_DEFAULT
@@ -134,28 +133,9 @@ static void mainboard_init(device_t dev)
}
}
-static int mainboard_smbios_data(device_t dev, int *handle, unsigned long *current)
-{
- int len;
-#define SERIALBEGIN "IBM ThinkPad Embedded Controller -["
-#define SERIAL "01234567890123456"
-#define SERIALEND "]-"
- char tpec[] = SERIALBEGIN SERIAL SERIALEND;
-
- const char *oem_strings[] = {
- tpec,
- };
-
- h8_build_id_and_function_spec_version(tpec + sizeof(SERIALBEGIN), sizeof(SERIAL));
- len = smbios_write_type11(current, (*handle)++, oem_strings, ARRAY_SIZE(oem_strings));
-
- return len;
-}
-
static void mainboard_enable(device_t dev)
{
dev->ops->init = mainboard_init;
- dev->ops->get_smbios_data = mainboard_smbios_data;
}
struct chip_operations mainboard_ops = {