aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/release.html1
-rwxr-xr-xgetflashrom7
-rw-r--r--resources/flashrom/patch/x200whitelist.diff10
3 files changed, 16 insertions, 2 deletions
diff --git a/docs/release.html b/docs/release.html
index 51f77dc6..2d8ce389 100644
--- a/docs/release.html
+++ b/docs/release.html
@@ -120,6 +120,7 @@
Changes for this release (latest changes first, earliest changes last)
</h2>
<ul>
+ <li>Flashrom: added whitelist for ThinkPad X200.</li>
<li>X200: fixed uneven backlight (at low levels)</li>
<li>ich9deblob: added new utility <b>ich9gen</b>: this can generate a descriptor+gbe image without a factory.rom dump present.</li>
<li>Modified ich9deblob to use a struct for Gbe, documenting everything.</li>
diff --git a/getflashrom b/getflashrom
index 23d0562b..2a20b141 100755
--- a/getflashrom
+++ b/getflashrom
@@ -35,8 +35,11 @@ rm -rf flashrom
# download it using subversion
svn co -r 1858 svn://flashrom.org/flashrom/trunk flashrom
-# there are no permanent patches needed to be applied here:
-# the patches are applied selectively at build time (when running "builddeps-flashrom")
+# apply patches
+cd flashrom/
+# Add whitelist for X200:
+patch board_enable.c < ../resources/flashrom/patch/x200whitelist.diff
+cd ../
echo "FINISHED DOWNLOADING FLASHROM"
diff --git a/resources/flashrom/patch/x200whitelist.diff b/resources/flashrom/patch/x200whitelist.diff
new file mode 100644
index 00000000..c951a8a7
--- /dev/null
+++ b/resources/flashrom/patch/x200whitelist.diff
@@ -0,0 +1,10 @@
+--- board_enable.c 2014-12-29 23:30:27.061938702 +0000
++++ board_enable.x200whitelist.c 2014-12-29 23:30:47.262039193 +0000
+@@ -2427,6 +2427,7 @@
+ {0x8086, 0x1E22, 0x17AA, 0x21F6, 0x8086, 0x1E55, 0x17AA, 0x21F6, "^ThinkPad T530", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad T530", 0, OK, p2_whitelist_laptop},
+ {0x8086, 0x27a0, 0x17aa, 0x2015, 0x8086, 0x27b9, 0x17aa, 0x2009, "^ThinkPad T60", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad T60", 0, OK, p2_whitelist_laptop},
+ {0x8086, 0x27a0, 0x17aa, 0x2017, 0x8086, 0x27b9, 0x17aa, 0x2009, "^ThinkPad T60", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad T60(s)", 0, OK, p2_whitelist_laptop},
++ {0x8086, 0x2917, 0x17AA, 0x20F5, 0x8086, 0x2930, 0x17AA, 0x20F9, "^ThinkPad X200$", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X200", 0, OK, p2_whitelist_laptop},
+ {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},