Author: mhm Date: Fri Sep 17 00:09:18 2010 New Revision: 1177 URL: http://flashrom.org/trac/flashrom/changeset/1177
Log: Add board enable for Elitegroup GeForce6100SM-M
Match on Memory Controller/LPC Bridge.
lspci/superiotool output: http://www.coreboot.org/pipermail/flashrom/2010-September/004829.html
Test report: http://www.coreboot.org/pipermail/flashrom/2010-September/004835.html
Tested-by: Andrew Cleveland evil.saltine@gmail.com Signed-off-by: Mattias Mattsson vitplister@gmail.com Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Modified: trunk/board_enable.c trunk/print.c
Modified: trunk/board_enable.c ============================================================================== --- trunk/board_enable.c Thu Sep 16 02:51:51 2010 (r1176) +++ trunk/board_enable.c Fri Sep 17 00:09:18 2010 (r1177) @@ -818,6 +818,29 @@ }
/* + * Suited for: + * - Elitegroup GeForce6100SM-M: NVIDIA MCP61 + ITE IT8726F + */ + +static int board_ecs_geforce6100sm_m(void) +{ + struct pci_dev *dev; + uint32_t tmp; + + dev = pci_dev_find(0x10DE, 0x03EB); /* NVIDIA MCP61 SMBus. */ + if (!dev) { + msg_perr("\nERROR: NVIDIA MCP61 SMBus not found.\n"); + return -1; + } + + tmp = pci_read_byte(dev, 0xE0); + tmp &= ~(1 << 3); + pci_write_byte(dev, 0xE0, tmp); + + return 0; +} + +/* * Very similar to AMD 8111 IO Hub. */ static int nvidia_mcp_gpio_set(int gpio, int raise) @@ -1881,6 +1904,7 @@ {0x10DE, 0x0030, 0x1043, 0x818a, 0x8086, 0x100E, 0x1043, 0x80EE, NULL, NULL, NULL, "ASUS", "P5ND2-SLI Deluxe", 0, OK, nvidia_mcp_gpio10_raise}, {0x8086, 0x24dd, 0x1043, 0x80a6, 0x8086, 0x2570, 0x1043, 0x8157, NULL, NULL, NULL, "ASUS", "P5PE-VM", 0, OK, intel_ich_gpio21_raise}, {0x8086, 0x3590, 0x1028, 0x016c, 0x1000, 0x0030, 0x1028, 0x016c, NULL, NULL, NULL, "Dell", "PowerEdge 1850", 0, OK, intel_ich_gpio23_raise}, + {0x10de, 0x03ea, 0x1019, 0x2602, 0x10de, 0x03e0, 0x1019, 0x2602, NULL, NULL, NULL, "Elitegroup", "GeForce6100SM-M", 0, OK, board_ecs_geforce6100sm_m}, {0x1106, 0x3038, 0x1019, 0x0996, 0x1106, 0x3177, 0x1019, 0x0996, NULL, NULL, NULL, "Elitegroup", "K7VTA3", 256, OK, NULL}, {0x1106, 0x3177, 0x1106, 0x3177, 0x1106, 0x3059, 0x1695, 0x3005, NULL, NULL, NULL, "EPoX", "EP-8K5A2", 0, OK, w836xx_memw_enable_2e}, {0x10EC, 0x8139, 0x1695, 0x9001, 0x11C1, 0x5811, 0x1695, 0x9015, NULL, NULL, NULL, "EPoX", "EP-8RDA3+", 0, OK, nvidia_mcp_gpio31_raise},
Modified: trunk/print.c ============================================================================== --- trunk/print.c Thu Sep 16 02:51:51 2010 (r1176) +++ trunk/print.c Fri Sep 17 00:09:18 2010 (r1177) @@ -393,6 +393,7 @@ B("Dell", "PowerEdge 1850", 1, "http://support.dell.com/support/edocs/systems/pe1850/en/index.htm", NULL), B("DFI", "855GME-MGF", 0, "http://www.dfi.com.tw/portal/CM/cmproduct/XX_cmproddetail/XX_WbProdsWindow?a...", "Probably needs a board enable. http://www.coreboot.org/pipermail/coreboot/2009-May/048549.html"), B("DFI", "Blood-Iron P35 T2RL", 1, "http://lp.lanparty.com.tw/portal/CM/cmproduct/XX_cmproddetail/XX_WbProdsWind...", NULL), + B("Elitegroup", "GeForce6100SM-M ", 1, "http://www.ecs.com.tw/ECSWebSite/Product/Product_Detail.aspx?DetailID=685&am...", NULL), B("Elitegroup", "K7S5A", 1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=279&a...", NULL), B("Elitegroup", "K7S6A", 1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=77&am...", NULL), B("Elitegroup", "K7VTA3", 1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=264&a...", NULL),