summaryrefslogtreecommitdiffstats
path: root/getflashrom
diff options
context:
space:
mode:
Diffstat (limited to 'getflashrom')
-rwxr-xr-xgetflashrom8
1 files changed, 8 insertions, 0 deletions
diff --git a/getflashrom b/getflashrom
index 2a20b14..b74ff6e 100755
--- a/getflashrom
+++ b/getflashrom
@@ -36,9 +36,17 @@ rm -rf flashrom
svn co -r 1858 svn://flashrom.org/flashrom/trunk flashrom
# apply patches
+
cd flashrom/
+
# Add whitelist for X200:
patch board_enable.c < ../resources/flashrom/patch/x200whitelist.diff
+
+# 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
+patch flashchips.c < ../resources/flashrom/patch/purged_chips.diff
+
cd ../
echo "FINISHED DOWNLOADING FLASHROM"