From c57d9f12bc5b90a173caae733f195dfae6004d4c Mon Sep 17 00:00:00 2001 From: stefanct Date: Thu, 9 Aug 2012 23:25:27 +0000 Subject: 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 Acked-by: Stefan Tauner git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1566 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- board_enable.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'board_enable.c') diff --git a/board_enable.c b/board_enable.c index 3c791b1..8170c12 100644 --- a/board_enable.c +++ b/board_enable.c @@ -552,6 +552,18 @@ void w83697xx_memw_enable(uint16_t port) w836xx_ext_leave(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 @@ -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}, -- cgit v1.2.1