summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-27 23:22:50 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-30 19:26:33 +0200
commited74dcd7f055e07f96562b0a866c185f251016ac (patch)
treeb51b35218d778c312911a01e6675b972eec67458 /src/mainboard/lenovo
parentfc10c342661a8825af200a92822ea50ea636eed0 (diff)
downloadcoreboot-ed74dcd7f055e07f96562b0a866c185f251016ac.tar.xz
lenovo: Read mainboard version from AT24RF08C.
Tablets have different mainboard version than laptop variants. Change-Id: I77a1e2b50d30dcf3fa064e0c378ceca7ccf96e89 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6785 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t520/mainboard.c5
-rw-r--r--src/mainboard/lenovo/t530/mainboard.c5
-rw-r--r--src/mainboard/lenovo/x200/mainboard.c5
-rw-r--r--src/mainboard/lenovo/x201/mainboard.c5
-rw-r--r--src/mainboard/lenovo/x220/mainboard.c5
-rw-r--r--src/mainboard/lenovo/x230/mainboard.c5
6 files changed, 0 insertions, 30 deletions
diff --git a/src/mainboard/lenovo/t520/mainboard.c b/src/mainboard/lenovo/t520/mainboard.c
index 8b1aa0d02a..f89001aeea 100644
--- a/src/mainboard/lenovo/t520/mainboard.c
+++ b/src/mainboard/lenovo/t520/mainboard.c
@@ -133,11 +133,6 @@ static int int15_handler(void)
}
#endif
-const char *smbios_mainboard_version(void)
-{
- return "ThinkPad T520";
-}
-
/* Audio Setup */
static void verb_setup(void)
diff --git a/src/mainboard/lenovo/t530/mainboard.c b/src/mainboard/lenovo/t530/mainboard.c
index 5af6cec3da..feb1aa78f0 100644
--- a/src/mainboard/lenovo/t530/mainboard.c
+++ b/src/mainboard/lenovo/t530/mainboard.c
@@ -133,11 +133,6 @@ static int int15_handler(void)
}
#endif
-const char *smbios_mainboard_version(void)
-{
- return "ThinkPad T530";
-}
-
/* Audio Setup */
static void verb_setup(void)
diff --git a/src/mainboard/lenovo/x200/mainboard.c b/src/mainboard/lenovo/x200/mainboard.c
index a00f1851c9..9fe55db308 100644
--- a/src/mainboard/lenovo/x200/mainboard.c
+++ b/src/mainboard/lenovo/x200/mainboard.c
@@ -125,11 +125,6 @@ const char *smbios_mainboard_bios_version(void)
return "CBET4000 " COREBOOT_VERSION;
}
-const char *smbios_mainboard_version(void)
-{
- return "Lenovo X200";
-}
-
static int mainboard_smbios_data(device_t dev, int *handle, unsigned long *current)
{
int len;
diff --git a/src/mainboard/lenovo/x201/mainboard.c b/src/mainboard/lenovo/x201/mainboard.c
index b57d79065d..16d4bd9c7d 100644
--- a/src/mainboard/lenovo/x201/mainboard.c
+++ b/src/mainboard/lenovo/x201/mainboard.c
@@ -98,11 +98,6 @@ const char *smbios_mainboard_bios_version(void)
return "CBET4000 " COREBOOT_VERSION;
}
-const char *smbios_mainboard_version(void)
-{
- return "Lenovo X201";
-}
-
/* Audio Setup */
static void verb_setup(void)
diff --git a/src/mainboard/lenovo/x220/mainboard.c b/src/mainboard/lenovo/x220/mainboard.c
index 8d90c22170..7bc1edbe8d 100644
--- a/src/mainboard/lenovo/x220/mainboard.c
+++ b/src/mainboard/lenovo/x220/mainboard.c
@@ -143,11 +143,6 @@ const char *smbios_mainboard_bios_version(void)
return "CBET4000 " COREBOOT_VERSION;
}
-const char *smbios_mainboard_version(void)
-{
- return "ThinkPad X220";
-}
-
/* Audio Setup */
static void verb_setup(void)
diff --git a/src/mainboard/lenovo/x230/mainboard.c b/src/mainboard/lenovo/x230/mainboard.c
index 4e3151fef4..323f37faed 100644
--- a/src/mainboard/lenovo/x230/mainboard.c
+++ b/src/mainboard/lenovo/x230/mainboard.c
@@ -143,11 +143,6 @@ const char *smbios_mainboard_bios_version(void)
return "CBET4000 " COREBOOT_VERSION;
}
-const char *smbios_mainboard_version(void)
-{
- return "ThinkPad X230";
-}
-
/* Audio Setup */
static void verb_setup(void)