summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/download/flashrom
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-17 14:02:59 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-17 14:51:08 (EDT)
commit364de4be3787614d742c0a57171582a05249b2d1 (patch)
tree3f662bbccdf7eda24c748416277647c5379bc93c /resources/scripts/helpers/download/flashrom
parent7c74e5672ecc35d401a83c0ebb5c0a71bdd598b5 (diff)
downloadlibreboot-364de4be3787614d742c0a57171582a05249b2d1.zip
libreboot-364de4be3787614d742c0a57171582a05249b2d1.tar.gz
libreboot-364de4be3787614d742c0a57171582a05249b2d1.tar.bz2
Update flashrom and rebase patches
Rebase the patch to purge unwanted flash chip definitions. Remove the X200 whitelist patch (merged upstream). Add a patch to enable X200 Tablet and X200S whitelist.
Diffstat (limited to 'resources/scripts/helpers/download/flashrom')
-rwxr-xr-xresources/scripts/helpers/download/flashrom10
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom
index cf957a3..fa6b060 100755
--- a/resources/scripts/helpers/download/flashrom
+++ b/resources/scripts/helpers/download/flashrom
@@ -37,21 +37,21 @@ rm -rf flashrom
# ------------------------------------------------------------------------------
# download it using subversion
-svn co -r 1858 svn://flashrom.org/flashrom/trunk flashrom
+svn co -r 1889 svn://flashrom.org/flashrom/trunk flashrom
# apply patches
cd flashrom/
-# Add whitelist for X200:
-printf "Patching board_enable.c for X200 whitelist\n"
-patch board_enable.c < ../resources/flashrom/patch/x200whitelist.diff
+# 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
# 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
printf "Patching flashchips.c to remove the redundant entries\n"
-patch flashchips.c < ../resources/flashrom/patch/purged_chips.diff
+svn patch ../resources/flashrom/patch/purged_chips.diff
cd ../