summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-09-25 21:08:41 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-09-25 21:08:41 +0000
commit98feaa5c2cd4f6b217ac0dbf57d1b5254bbdcd81 (patch)
treefbe3b4aa12978a3a08aa7c773a4f52c4bf99328a
parentfa9fa7131a4c5a0bc49c17a428bb0388f9bc88e7 (diff)
downloadast2050-flashrom-98feaa5c2cd4f6b217ac0dbf57d1b5254bbdcd81.zip
ast2050-flashrom-98feaa5c2cd4f6b217ac0dbf57d1b5254bbdcd81.tar.gz
Whitelist known working Thinkpads of the T60 and X60 series
This should get rid of the need to specify the laptop force parameter on T60 and X60 series Thinkpads (including T60s and X60s) that are using one of the Intel 94x northbridges and are known to have no interfering EC. Please note that although the EC is no problem, flashrom is not able to access the entire flash chip with the vendor BIOS, see the coreboot wiki for details: http://www.coreboot.org/Lenovo_x60x Corresponding to flashrom svn r1606. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--board_enable.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/board_enable.c b/board_enable.c
index 28a8fcd..5dd7ae1 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -2243,6 +2243,17 @@ static int p2_not_a_laptop(void)
return 0;
}
+/*
+ * Suited for all laptops, which are known to *not* have interfering embedded controllers.
+ */
+static int p2_whitelist_laptop(void)
+{
+ is_laptop = 1;
+ laptop_ok = 1;
+ msg_pdbg("Whitelisted laptop detected.\n");
+ return 0;
+}
+
#endif
/*
@@ -2396,6 +2407,8 @@ const struct board_match board_matches[] = {
{0x8086, 0x7190, 0, 0, 0x8086, 0x7110, 0, 0, "^SE440BX-2$", NULL, NULL, P3, "Intel", "SE440BX-2", 0, NT, intel_piix4_gpo27_lower},
{0x1022, 0x7468, 0, 0, 0x1022, 0x7460, 0, 0, NULL, "iwill", "dk8_htx", P3, "IWILL", "DK8-HTX", 0, OK, w83627hf_gpio24_raise_2e},
{0x8086, 0x27A0, 0x8086, 0x27a0, 0x8086, 0x27b8, 0x8086, 0x27b8, NULL, "kontron", "986lcd-m", P3, "Kontron", "986LCD-M", 0, OK, board_kontron_986lcd_m},
+ {0x8086, 0x27a0, 0x17aa, 0x2017, 0x8086, 0x27b9, 0x17aa, 0x2009, "^ThinkPad T60", NULL, NULL, P2, "Lenovo", "T60(s)", 0, OK, p2_whitelist_laptop},
+ {0x8086, 0x27a0, 0x17aa, 0x2017, 0x8086, 0x27b9, 0x17aa, 0x2009, "^ThinkPad X60", NULL, NULL, P2, "Lenovo", "X60(s)", 0, OK, p2_whitelist_laptop},
{0x8086, 0x2411, 0x8086, 0x2411, 0x8086, 0x7125, 0x0e11, 0xb165, NULL, NULL, NULL, P3, "Mitac", "6513WU", 0, OK, board_mitac_6513wu},
{0x8086, 0x8186, 0x8086, 0x8186, 0x8086, 0x8800, 0x0000, 0x0000, "^MSC Vertriebs GmbH$", NULL, NULL, P2, "MSC", "Q7-TCTC", 0, OK, p2_not_a_laptop},
{0x10DE, 0x005E, 0x1462, 0x7125, 0x10DE, 0x0052, 0x1462, 0x7125, NULL, NULL, NULL, P3, "MSI", "K8N Neo4-F", 0, OK, nvidia_mcp_gpio2_raise}, /* TODO: Should probably be K8N Neo4 Platinum, see http://www.coreboot.org/pipermail/flashrom/2010-August/004362.html. */
OpenPOWER on IntegriCloud