Author: stefanct
Date: Fri Aug 10 01:25:27 2012
New Revision: 1566
URL: http://flashrom.org/trac/flashrom/changeset/1566

Log:
Add board enable for Biostar M7VIQ.

The PCI IDs are generic VIA IDs. Only Biostar IDs are those of the LOM, but
that would not be a good choice for ID. So autodetection has been disabled
and the user needs to specify -p internal:mainboard=biostar:m7viq instead.

Signed-off-by: Stefan Tauner <[email protected]>
Acked-by: Stefan Tauner <[email protected]>

Modified:
   trunk/board_enable.c
   trunk/print.c

Modified: trunk/board_enable.c
==============================================================================
--- trunk/board_enable.c        Thu Aug  9 23:09:51 2012        (r1565)
+++ trunk/board_enable.c        Fri Aug 10 01:25:27 2012        (r1566)
@@ -554,6 +554,18 @@
 
 /*
  * Suited for:
+ *  - Biostar M7VIQ: VIA KM266 + VT8235
+ */
+static int w83697xx_memw_enable_2e(void)
+{
+       w83697xx_memw_enable(0x2E);
+
+       return 0;
+}
+
+
+/*
+ * Suited for:
  *  - EPoX EP-8K5A2: VIA KT333 + VT8235
  *  - Albatron PM266A Pro: VIA P4M266A + VT8235
  *  - Shuttle AK31 (all versions): VIA KT266 + VT8233
@@ -2360,6 +2372,7 @@
        {0x10DE, 0x0260, 0x1043, 0x81BC,  0x10DE, 0x026C, 0x1043, 0x8249, 
"^P5N-E SLI$",NULL, NULL,           P3, "ASUS",        "P5N-E SLI",             
0,   NT, it8718f_gpio63_raise},
        {0x8086, 0x24dd, 0x1043, 0x80a6,  0x8086, 0x2570, 0x1043, 0x8157, NULL, 
        NULL, NULL,           P3, "ASUS",        "P5PE-VM",               0,   
OK, intel_ich_gpio21_raise},
        {0x8086, 0x2443, 0x1043, 0x8027,  0x8086, 0x1130, 0x1043, 0x8027, NULL, 
        NULL, NULL,           P3, "ASUS",        "TUSL2-C",               0,   
NT, intel_ich_gpio21_raise},
+       {0x1106, 0x3177, 0x1106, 0x3177,  0x1106, 0x3116, 0x1106, 0x3116, 
"^KM266-8235$", "biostar", "m7viq",         P3, "Biostar",     "M7VIQ",         
        0,   NT, w83697xx_memw_enable_2e},
        {0x10b7, 0x9055, 0x1028, 0x0082,  0x8086, 0x7190,      0,      0, NULL, 
        NULL, NULL,           P3, "Dell",        "OptiPlex GX1",          0,   
OK, intel_piix4_gpo30_lower},
        {0x8086, 0x3590, 0x1028, 0x016c,  0x1000, 0x0030, 0x1028, 0x016c, NULL, 
        NULL, NULL,           P3, "Dell",        "PowerEdge 1850",        0,   
OK, intel_ich_gpio23_raise},
        {0x10de, 0x03ea, 0x1019, 0x2602,  0x10de, 0x03e0, 0x1019, 0x2602, NULL, 
        NULL, NULL,           P3, "Elitegroup",  "GeForce6100SM-M",       0,   
OK, board_ecs_geforce6100sm_m},

Modified: trunk/print.c
==============================================================================
--- trunk/print.c       Thu Aug  9 23:09:51 2012        (r1565)
+++ trunk/print.c       Fri Aug 10 01:25:27 2012        (r1566)
@@ -749,7 +749,7 @@
        B("Biostar",    "H61MU3",               BAD, NULL, "Probing works (Eon 
EN25Q32(A/B), 4096 kB, SPI), but parts of the flash are problematic: descriptor 
is r/o (conforming to ICH reqs), ME region is locked."),
        B("Biostar",    "M6TBA",                BAD, 
"ftp://ftp.biostar-usa.com/manuals/M6TBA/";, "No public report found. Owned by 
Uwe Hermann <[email protected]>. May work now."),
        B("Biostar",    "M7NCD Pro",            OK, 
"http://www.biostar.com.tw/app/en/mb/content.php?S_ID=260";, NULL),
-       B("Biostar",    "M7VIQ",                BAD, NULL, "Missing board 
enable (W83697HF/F/HG/G), see 
http://www.flashrom.org/pipermail/flashrom/2012-February/008863.html";),
+       B("Biostar",    "M7VIQ",                NT, NULL, NULL),
        B("Biostar",    "N61PB-M2S",            OK, NULL, NULL),
        B("Biostar",    "N68S3+",               OK, NULL, NULL),
        B("Biostar",    "P4M80-M4",             OK, 
"http://www.biostar-usa.com/mbdetails.asp?model=p4m80-m4";, NULL),

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

Reply via email to