summaryrefslogtreecommitdiffstats
path: root/getflashrom
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-29 18:40:17 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-29 19:27:05 (EST)
commit05d821cecb953efd2cbc2d7cb21278a33a59000b (patch)
tree7f54bcb8f40e3c5621f52a2341b8654e8d920e70 /getflashrom
parent4806ec8129986d6a608c1deb10413b4ff17315d0 (diff)
downloadlibreboot-05d821cecb953efd2cbc2d7cb21278a33a59000b.zip
libreboot-05d821cecb953efd2cbc2d7cb21278a33a59000b.tar.gz
libreboot-05d821cecb953efd2cbc2d7cb21278a33a59000b.tar.bz2
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 23d0562..2a20b14 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"