summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-17 23:19:00 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-17 23:33:12 (EDT)
commit0e43f92be4f8bfea9658e79a5b0b023d99067154 (patch)
tree21672849b22616b36fd0d1dded22afe0bfaca2dd /resources
parent364de4be3787614d742c0a57171582a05249b2d1 (diff)
downloadlibreboot-0e43f92be4f8bfea9658e79a5b0b023d99067154.zip
libreboot-0e43f92be4f8bfea9658e79a5b0b023d99067154.tar.gz
libreboot-0e43f92be4f8bfea9658e79a5b0b023d99067154.tar.bz2
flashrom: add whitelist for ThinkPad R400, T400 and T500
Diffstat (limited to 'resources')
-rw-r--r--resources/flashrom/patch/x200s_x200t_t400_t500_r400_whitelist.diff (renamed from resources/flashrom/patch/x200s_x200t_whitelist.diff)5
-rwxr-xr-xresources/scripts/helpers/download/flashrom5
2 files changed, 6 insertions, 4 deletions
diff --git a/resources/flashrom/patch/x200s_x200t_whitelist.diff b/resources/flashrom/patch/x200s_x200t_t400_t500_r400_whitelist.diff
index 5b9da6b..4e58a3d 100644
--- a/resources/flashrom/patch/x200s_x200t_whitelist.diff
+++ b/resources/flashrom/patch/x200s_x200t_t400_t500_r400_whitelist.diff
@@ -2,12 +2,15 @@ Index: board_enable.c
===================================================================
--- board_enable.c (revision 1889)
+++ board_enable.c (working copy)
-@@ -2429,7 +2429,7 @@
+@@ -2429,7 +2429,10 @@
{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, 0x2917, 0x17AA, 0x20F5, 0x8086, 0x2930, 0x17AA, 0x20F9, "^ThinkPad X200", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X200", 0, OK, p2_whitelist_laptop},
++ {0x8086, 0x2917, 0x17AA, 0x20F5, 0x8086, 0x2930, 0x17AA, 0x20F9, "^ThinkPad R400", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad R400", 0, OK, p2_whitelist_laptop},
++ {0x8086, 0x2917, 0x17AA, 0x20F5, 0x8086, 0x2930, 0x17AA, 0x20F9, "^ThinkPad T400", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad T400", 0, OK, p2_whitelist_laptop},
++ {0x8086, 0x2917, 0x17AA, 0x20F5, 0x8086, 0x2930, 0x17AA, 0x20F9, "^ThinkPad T500", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad T500", 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},
diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom
index fa6b060..493c4a6 100755
--- a/resources/scripts/helpers/download/flashrom
+++ b/resources/scripts/helpers/download/flashrom
@@ -43,9 +43,8 @@ svn co -r 1889 svn://flashrom.org/flashrom/trunk flashrom
cd flashrom/
-# Enable X200 Tablet and X200S whitelist (X200 is already whitelisted)
-printf "Enabling whitelist for X200S and X200 Tablet\n"
-svn patch ../resources/flashrom/patch/x200s_x200t_whitelist.diff
+printf "Enabling whitelist for X200S, X200 Tablet, T400, T500 and R400\n"
+svn patch ../resources/flashrom/patch/x200s_x200t_t400_t500_r400_whitelist.diff
# Remove redundant definitions for the flash chips that
# supported libreboot machines use. This removes the need