Add back flashrom support for KGPE-D16

Also fix up flashrom-x230.sh command only read bios area
This commit is contained in:
Francis Lam 2018-05-05 18:59:43 -07:00
parent 492b94afb5
commit bb0e13c24f
No known key found for this signature in database
GPG Key ID: 0A59C698920806EB
4 changed files with 2614 additions and 2 deletions

View File

@ -22,10 +22,10 @@ fi
flashrom \
--force \
--noverify \
--noverify-all \
--programmer internal \
--ifd \
--image BIOS \
--image bios \
-w /tmp/x230.rom \
|| die "$ROM: Flash failed"

View File

@ -43,5 +43,6 @@ pciutils_output := \
pciutils_libraries := \
lib/libpci.so.3.5.4 \
../../install/lib/libpci.so.3\
pciutils_configure :=

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
diff --git ./board_enable.c ./board_enable.c
index b6e17ef..23acd7c 100644
--- ./board_enable.c
+++ ./board_enable.c
@@ -2434,6 +2434,7 @@ const struct board_match board_matches[] = {
{0x8086, 0x27a0, 0x17aa, 0x2017, 0x8086, 0x27b9, 0x17aa, 0x2009, "^ThinkPad T60", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad T60(s)", 0, OK, p2_whitelist_laptop},
{0x8086, 0x2917, 0x17AA, 0x20F5, 0x8086, 0x2930, 0x17AA, 0x20F9, "^ThinkPad X200", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X200", 0, OK, p2_whitelist_laptop},
{0x8086, 0x3B07, 0x17AA, 0x2166, 0x8086, 0x3B30, 0x17AA, 0x2167, "^Lenovo X201", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X201", 0, OK, p2_whitelist_laptop},
+ {0x8086, 0x1C22, 0x17AA, 0x21DB, 0x8086, 0x1C4F, 0x17AA, 0x21DB, "^ThinkPad X220", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X220", 0, OK, p2_whitelist_laptop},
{0x8086, 0x1E22, 0x17AA, 0x21FA, 0x8086, 0x1E55, 0x17AA, 0x21FA, "^ThinkPad X230", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X230", 0, OK, p2_whitelist_laptop},
{0x8086, 0x27A0, 0x17AA, 0x2017, 0x8086, 0x27B9, 0x17AA, 0x2009, "^ThinkPad X60", NULL, NULL, P2, "IBM/Lenovo", "ThinkPad X60(s)", 0, OK, p2_whitelist_laptop},
{0x8086, 0x2411, 0x8086, 0x2411, 0x8086, 0x7125, 0x0e11, 0xb165, NULL, NULL, NULL, P3, "Mitac", "6513WU", 0, OK, board_mitac_6513wu},