summaryrefslogtreecommitdiffstats
path: root/board_enable.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-08-09 23:25:27 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-08-09 23:25:27 +0000
commit7cd532fb0c2d1eea3e1d405de3e247f3710e82b2 (patch)
tree25ed56dcd967d50916d6d98994af5b267504c5e4 /board_enable.c
parent7aa7b28b80f9eeaa4896c67efb5c90962ec320a7 (diff)
downloadflashrom-7cd532fb0c2d1eea3e1d405de3e247f3710e82b2.zip
flashrom-7cd532fb0c2d1eea3e1d405de3e247f3710e82b2.tar.gz
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. Corresponding to flashrom svn r1566. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'board_enable.c')
-rw-r--r--board_enable.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/board_enable.c b/board_enable.c
index 3c791b1..8170c12 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -554,6 +554,18 @@ void w83697xx_memw_enable(uint16_t port)
/*
* 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 @@ const struct board_match board_matches[] = {
{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},
OpenPOWER on IntegriCloud