summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lenovo/t60/mainboard.c
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-27 23:42:45 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-30 20:47:16 +0200
commit6abb33c7ba5f18ec3e3578cb1f804cbe60e49c49 (patch)
treee8f1d51157d3c402e6b5a3c78727ed353d52b26a /src/mainboard/lenovo/t60/mainboard.c
parent8603513540f2d0016546db7e03292d4d70424b00 (diff)
downloadcoreboot-6abb33c7ba5f18ec3e3578cb1f804cbe60e49c49.tar.gz
coreboot-6abb33c7ba5f18ec3e3578cb1f804cbe60e49c49.tar.bz2
coreboot-6abb33c7ba5f18ec3e3578cb1f804cbe60e49c49.zip
smbios: reorganise OEM strings handling.
OEM strings should not be handled by mobo code but by common code with strings collected from all devices. Change-Id: Ibde61a1ca79845670bc0df87dc6c67fa868d48a9 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6788 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo/t60/mainboard.c')
-rw-r--r--src/mainboard/lenovo/t60/mainboard.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c
index 6dac819f2e25..9c6a30a47cea 100644
--- a/src/mainboard/lenovo/t60/mainboard.c
+++ b/src/mainboard/lenovo/t60/mainboard.c
@@ -129,24 +129,9 @@ static void mainboard_init(device_t dev)
ec_write(0x0c, inb(0x164c) & 8 ? 0x89 : 0x09);
}
-static int mainboard_smbios_data(device_t dev, int *handle, unsigned long *current)
-{
- int len;
- char tpec[] = "IBM ThinkPad Embedded Controller -[ ]-";
- const char *oem_strings[] = {
- tpec,
- };
-
- h8_build_id_and_function_spec_version(tpec + 35, 17);
- 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 = {