Typical AWARD enable structure with an ICH GPIO board enable.

Signed-off-by: Stefan Tauner <[email protected]>
---
The chip status register shows #TBL and #WP as active, so this code
may not be everything we need. Check probe output for both *not* active
before trying to write!

 board_enable.c |   11 +++++++++++
 print.c        |    1 +
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/board_enable.c b/board_enable.c
index 2229f8b..05ac1d9 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -1560,6 +1560,16 @@ static int intel_ich_gpio34_raise(void)
 
 /*
  * Suited for:
+ *  - AOpen D2544-B1: Intel 945GM + ICH7-M used in ...
+ *    - FCS (e.g. ESPRIMO Q5010)
+ */
+static int intel_ich_gpio38_raise(void)
+{
+       return intel_ich_gpio_set(38, 1);
+}
+
+/*
+ * Suited for:
  *  - ASUS M6Ne (laptop): socket 479M (guessed) + Intel 855PM + ICH4-M
  */
 static int intel_ich_gpio43_raise(void)
@@ -2098,6 +2108,7 @@ const struct board_match board_matches[] = {
        {0x1106, 0x3177, 0x17F2, 0x3177,  0x1106, 0x3148, 0x17F2, 0x3148, NULL, 
        NULL, NULL,           P3, "Albatron",    "PM266A Pro",            0,   
OK, w836xx_memw_enable_2e},
        {0x1022, 0x2090,      0,      0,  0x1022, 0x2080,      0,      0, NULL, 
       "artecgroup", "dbe61", P3, "Artec Group", "DBE61",                 0,   
OK, board_artecgroup_dbe6x},
        {0x1022, 0x2090,      0,      0,  0x1022, 0x2080,      0,      0, NULL, 
       "artecgroup", "dbe62", P3, "Artec Group", "DBE62",                 0,   
OK, board_artecgroup_dbe6x},
+       {0x8086, 0x27b9, 0xa0a0, 0x0632,  0x8086, 0x27da, 0xa0a0, 0x0632, 
"^D2544-B1",  NULL, NULL,           P3, "AOpen",       "D2544-B1",              
0,   OK, intel_ich_gpio38_raise},
        {0x8086, 0x277c, 0xa0a0, 0x060b,  0x8086, 0x27da, 0xa0a0, 0x060b, NULL, 
        NULL, NULL,           P3, "AOpen",       "i975Xa-YDG",            0,   
OK, board_aopen_i975xa_ydg},
        {0x8086, 0x27b8, 0x1849, 0x27b8,  0x8086, 0x27da, 0x1849, 0x27da, 
"^ConRoeXFire-eSATA2", NULL, NULL,  P3, "ASRock",      "ConRoeXFire-eSATA2",    
0,   OK, intel_ich_gpio16_raise},
        {0x1039, 0x0741, 0x1849, 0x0741,  0x1039, 0x5513, 0x1849, 0x5513, 
"^K7S41 $",   NULL, NULL,           P3, "ASRock",      "K7S41",                 
0,   OK, w836xx_memw_enable_2e},
diff --git a/print.c b/print.c
index db7ed65..5804bcb 100644
--- a/print.c
+++ b/print.c
@@ -556,6 +556,7 @@ const struct board_info boards_known[] = {
        B("Advantech",  "PCM-5820",             1, 
"http://www.emacinc.com/sbc_pc_compatible/pcm_5820.htm";, NULL),
        B("agami",      "Aruma",                1, 
"http://web.archive.org/web/20080212111524/http://www.agami.com/site/ais-6000-series";,
 NULL),
        B("Albatron",   "PM266A Pro",           1, 
"http://www.albatron.com.tw/English/Product/MB/pro_detail.asp?rlink=Overview&no=56";,
 NULL), /* FIXME */
+       B("AOpen",      "D2544-B1",             1, 
"http://uk.ts.fujitsu.com/rl/servicesupport/techsupport/professionalpc/ESPRIMO/Q/EsprimoQ50x0.htm";,
 "This is an OEM board from FCS (e.g. ESPRIMO Q5010)."),
        B("AOpen",      "vKM400Am-S",           1, 
"http://usa.aopen.com/products_detail.aspx?Auno=824";, NULL),
        B("Artec Group","DBE61",                1, 
"http://wiki.thincan.org/DBE61";, NULL),
        B("Artec Group","DBE62",                1, 
"http://wiki.thincan.org/DBE62";, NULL),
-- 
1.7.1


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to