On Thu, Nov 26, 2009 at 10:47:06PM +1100, Bill Maidment wrote: > Hello there. > My motherboard is a Gigabyte GA-M51GM-S2G no version number apparent. > The requested diagnostics are attached. > BIOS downloads are available from > http://www.giga-byte.com/Support/Motherboard/BIOS_Model.aspx?ProductID=2281 > Please let me know when the board enable patch is available. > Many thanks for the excellent service. > Regards > Bill
Attached. If this works, please provide an Acked-by: Bill Maidment <[email protected]> Luc Verhaegen.
>From eb79c9ed5fc78a9cffd9d879d4503ed3dc736b0e Mon Sep 17 00:00:00 2001 From: Luc Verhaegen <[email protected]> Date: Mon, 21 Dec 2009 15:46:59 +0100 Subject: [PATCH] Board: Add Gigabyte M51GM. The board ids match the M55Plus, but guess what, they require the same board enable ;) Signed-off-by: Luc Verhaegen <[email protected]> --- board_enable.c | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/board_enable.c b/board_enable.c index 8b5ed95..91d27ac 100644 --- a/board_enable.c +++ b/board_enable.c @@ -445,11 +445,12 @@ static int nvidia_mcp_gpio_set(int gpio, int raise) return -1; } - dev = pci_dev_find_vendorclass(0x10DE, 0x0C05); + dev = pci_dev_find_vendorclass(0x10DE, 0x0601); switch (dev->device_id) { - case 0x0030: /* CK804 */ - case 0x0050: /* MCP04 */ + case 0x0030: /* MCP04 */ + case 0x0050: /* CK804 */ case 0x0060: /* MCP2 */ + case 0x0260: /* MCP51 */ break; default: fprintf(stderr, "\nERROR: no nVidia SMBus controller found.\n"); @@ -494,6 +495,14 @@ static int nvidia_mcp_gpio31_raise(const char *name) } /** + * Suited for Gigabyte GA-M51GM-S2G: nVidia MCP51. + */ +static int nvidia_mcp_gpio3B_raise(const char *name) +{ + return nvidia_mcp_gpio_set(0x3B, 0x01); +} + +/** * Suited for Artec Group DBE61 and DBE62. */ static int board_artecgroup_dbe6x(const char *name) @@ -1251,6 +1260,7 @@ struct board_pciid_enable board_pciid_enables[] = { {0x1039, 0x0761, 0, 0, 0x10EC, 0x8168, 0, 0, "gigabyte", "2761gxdk", "GIGABYTE", "GA-2761GXDK", it87xx_probe_spi_flash}, {0x1106, 0x3227, 0x1458, 0x5001, 0x10ec, 0x8139, 0x1458, 0xe000, NULL, NULL, "GIGABYTE", "GA-7VT600", it8705_rom_write_enable}, {0x10DE, 0x0050, 0x1458, 0x0C11, 0x10DE, 0x005e, 0x1458, 0x5000, NULL, NULL, "GIGABYTE", "GA-K8N-SLI", nvidia_mcp_gpio21_raise}, + {0x10DE, 0x02FA, 0x1458, 0x5000, 0x10DE, 0x0260, 0x1458, 0x5001, NULL, NULL, "GIGABYTE", "GA-M51GM/M55plus", nvidia_mcp_gpio3B_raise}, {0x10DE, 0x0360, 0x1458, 0x0C11, 0x10DE, 0x0369, 0x1458, 0x5001, "gigabyte", "m57sli", "GIGABYTE", "GA-M57SLI-S4", it87xx_probe_spi_flash}, {0x10de, 0x03e0, 0, 0, 0x10DE, 0x03D0, 0, 0, NULL, NULL, "GIGABYTE", "GA-M61P-S3", it87xx_probe_spi_flash}, {0x1002, 0x4398, 0x1458, 0x5004, 0x1002, 0x4391, 0x1458, 0xb000, NULL, NULL, "GIGABYTE", "GA-MA78G-DS3H", it87xx_probe_spi_flash}, -- 1.6.0.2
_______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
