aboutsummaryrefslogtreecommitdiff
path: root/getflashrom
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-29 23:40:17 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-12-30 00:27:05 +0000
commit05d821cecb953efd2cbc2d7cb21278a33a59000b (patch)
tree7f54bcb8f40e3c5621f52a2341b8654e8d920e70 /getflashrom
parent4806ec8129986d6a608c1deb10413b4ff17315d0 (diff)
downloadlibrebootfr-05d821cecb953efd2cbc2d7cb21278a33a59000b.tar.gz
librebootfr-05d821cecb953efd2cbc2d7cb21278a33a59000b.zip
X200: add whitelist to flashrom
A future release of flashrom will have this upstreamed. Adding to libreboot temporarily as an external patch.
Diffstat (limited to 'getflashrom')
-rwxr-xr-xgetflashrom7
1 files changed, 5 insertions, 2 deletions
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"