From 364de4be3787614d742c0a57171582a05249b2d1 Mon Sep 17 00:00:00 2001
From: Francis Rowe <info@gluglug.org.uk>
Date: Sun, 17 May 2015 14:02:59 -0400
Subject: 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.
---
(limited to 'resources/scripts/helpers/download')

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 ../
 
--
cgit v0.9.1