summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-06-11 07:58:47 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-06-11 07:58:47 (EDT)
commit06a11644caeb5f1bbbe24bfc0049772d349bafe4 (patch)
tree3b377b317b0f1a7a5764dd860dfd1d501896ee6d
parent32de3d015c4c419946d405afdbeb94d96872e64a (diff)
downloadlibreboot-feature/flashrom-board-enable-taurinus-x200.zip
libreboot-feature/flashrom-board-enable-taurinus-x200.tar.gz
libreboot-feature/flashrom-board-enable-taurinus-x200.tar.bz2
flashrom: Add whitelist for Libiquity Taurinus X200feature/flashrom-board-enable-taurinus-x200
-rw-r--r--resources/flashrom/patch/0001-Add-board-enable-for-Libiquity-Taurinus-X200.patch25
-rwxr-xr-xresources/scripts/helpers/download/flashrom3
2 files changed, 28 insertions, 0 deletions
diff --git a/resources/flashrom/patch/0001-Add-board-enable-for-Libiquity-Taurinus-X200.patch b/resources/flashrom/patch/0001-Add-board-enable-for-Libiquity-Taurinus-X200.patch
new file mode 100644
index 0000000..3037b7a
--- /dev/null
+++ b/resources/flashrom/patch/0001-Add-board-enable-for-Libiquity-Taurinus-X200.patch
@@ -0,0 +1,25 @@
+From d4179b662170543bf78e09431e3b880222d324dd Mon Sep 17 00:00:00 2001
+From: "Patrick \"P. J.\" McDermott" <pj@pehjota.net>
+Date: Thu, 11 Jun 2015 07:00:08 -0400
+Subject: [PATCH] Add board enable for Libiquity Taurinus X200
+
+Signed-off-by: Patrick "P. J." McDermott <pj@pehjota.net>
+---
+ board_enable.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/board_enable.c b/board_enable.c
+index 31984e3..640d392 100644
+--- a/board_enable.c
++++ b/board_enable.c
+@@ -2433,6 +2433,7 @@ const struct board_match board_matches[] = {
+ {0x8086, 0x3B07, 0x17AA, 0x2166, 0x8086, 0x3B30, 0x17AA, 0x2167, "^Lenovo X201", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X201", 0, OK, p2_whitelist_laptop},
+ {0x8086, 0x1E22, 0x17AA, 0x21FA, 0x8086, 0x1E55, 0x17AA, 0x21FA, "^ThinkPad X230", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X230", 0, OK, p2_whitelist_laptop},
+ {0x8086, 0x27A0, 0x17AA, 0x2017, 0x8086, 0x27B9, 0x17AA, 0x2009, "^ThinkPad X60", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X60(s)", 0, OK, p2_whitelist_laptop},
++ {0x8086, 0x2917, 0x17AA, 0x20F5, 0x8086, 0x2930, 0x17AA, 0x20F9, "^Taurinus X200", "Libiquity", "Taurinus X200", P2, "Libiquity", "ThinkPad X200", 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, 0, 0, "^MSC Vertriebs GmbH$", NULL, NULL, P2, "MSC", "Q7-TCTC", 0, OK, p2_not_a_laptop},
+ {0x8086, 0x7190, 0, 0, 0x8086, 0x7110, 0, 0, "^MS-6163 (i440BX)$", NULL, NULL, P3, "MSI", "MS-6163 (MS-6163 Pro)", 0, OK, intel_piix4_gpo14_raise},
+--
+2.1.4
+
diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom
index 8006432..fd71af5 100755
--- a/resources/scripts/helpers/download/flashrom
+++ b/resources/scripts/helpers/download/flashrom
@@ -46,6 +46,9 @@ cd "flashrom/"
printf "Enabling whitelist for X200S, X200 Tablet, T400, T500 and R400\n"
patch "board_enable.c" < "../resources/flashrom/patch/x200s_x200t_t400_t500_r400_whitelist.diff"
+printf "Enabling whitelist for Libiquity Taurinus X200\n"
+patch "board_enable.c" < "../resources/flashrom/patch/0001-Add-board-enable-for-Libiquity-Taurinus-X200.patch"
+
# Remove redundant definitions for the flash chips that
# supported libreboot machines use. This removes the need
# for the user to run with the "-c" argument on these machines