From patchwork Wed Sep 1 02:24:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Gigabyte ga-k8n51gmf-9 Date: Wed, 01 Sep 2010 01:24:51 -0000 From: Joshua Roys X-Patchwork-Id: 1839 Message-Id: To: Tefnet Developers Cc: flashrom@flashrom.org On Tue, Aug 31, 2010 at 10:39 AM, Tefnet Developers wrote: > Hi, > > as suggested on IRC, I am sending here information about a motherboard > with bios that cannot be atm flashed with flashrom. > > Motherboard manufacturer: Gigabyte > Motherboard model: ga-k8n51gmf-9 > Motherboard rev: not specified > > BIOS update URI: > http://download.gigabyte.us/FileList/BIOS/motherboard_bios_ga-k8n51gmf-9(rh)_f8.exe > Hello, Please try this patch with the latest SVN, and let us know if it works. Thanks! Josh >From 3fa19cd0268e2510391bb10e0d652fa517c5632a Mon Sep 17 00:00:00 2001 From: Joshua Roys Date: Tue, 31 Aug 2010 22:18:58 -0400 Subject: [PATCH] Board enable for GIGABYTE GA-K8N51GMF-9. Signed-off-by: Joshua Roys --- Interestingly enough, this board's enable looked more like enable_flash_nvidia_nforce2 than enable_flash_ck804; it whacked 0x92, not 0x88. But according to the lspci, 0x92 is already 0. board_enable.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/board_enable.c b/board_enable.c index ae0fbfa..72ad9c1 100644 --- a/board_enable.c +++ b/board_enable.c @@ -948,6 +948,15 @@ static int nvidia_mcp_gpio31_raise(void) /* * Suited for: + * - GIGABYTE GA-K8N51GMF-9 + */ +static int nvidia_mcp_gpio3b_raise(void) +{ + return nvidia_mcp_gpio_set(0x3b, 1); +} + +/* + * Suited for: * - Artec Group DBE61 and DBE62 */ static int board_artecgroup_dbe6x(void) @@ -1797,6 +1806,7 @@ const struct board_pciid_enable board_pciid_enables[] = { {0x1106, 0x0686, 0x1106, 0x0686, 0x1106, 0x3058, 0x1458, 0xa000, NULL, NULL, NULL, "GIGABYTE", "GA-7ZM", 512, OK, NULL}, {0x8086, 0x244b, 0x8086, 0x2442, 0x8086, 0x2445, 0x1458, 0xa002, NULL, NULL, NULL, "GIGABYTE", "GA-8IRML", 0, OK, intel_ich_gpio25_raise}, {0x8086, 0x24c3, 0x1458, 0x24c2, 0x8086, 0x24cd, 0x1458, 0x5004, NULL, NULL, NULL, "GIGABYTE", "GA-8PE667 Ultra 2", 0, OK, intel_ich_gpio32_raise}, + {0x10DE, 0x026C, 0x1458, 0xA102, 0x10DE, 0x0260, 0x1458, 0x5001, NULL, NULL, NULL, "GIGABYTE", "GA-K8N51GMF-9", 0, OK, nvidia_mcp_gpio3b_raise}, {0x10DE, 0x0050, 0x1458, 0x0C11, 0x10DE, 0x005e, 0x1458, 0x5000, NULL, NULL, NULL, "GIGABYTE", "GA-K8N-SLI", 0, OK, nvidia_mcp_gpio21_raise}, {0x1166, 0x0223, 0x103c, 0x320d, 0x14e4, 0x1678, 0x103c, 0x703e, NULL, "hp", "dl145_g3", "HP", "ProLiant DL145 G3", 0, OK, board_hp_dl145_g3_enable}, {0x1166, 0x0223, 0x103c, 0x320d, 0x14e4, 0x1648, 0x103c, 0x310f, NULL, "hp", "dl165_g6", "HP", "ProLiant DL165 G6", 0, OK, board_hp_dl165_g6_enable},