summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Roys <roysjosh@gmail.com>2010-09-07 17:52:09 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-09-07 17:52:09 +0000
commit2ee137f31f9155798059f78907cbc7588df8a390 (patch)
tree16360c3378053350c6e425fccd087e9c90f4c603
parent431f4f77f73af37e17d2f0371c856f84e58dba18 (diff)
downloadast2050-flashrom-2ee137f31f9155798059f78907cbc7588df8a390.zip
ast2050-flashrom-2ee137f31f9155798059f78907cbc7588df8a390.tar.gz
Add board-enable for the GIGABYTE GA-K8N51GMF-9
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. Tested successfully on hardware: http://www.flashrom.org/pipermail/flashrom/2010-August/004568.html http://www.flashrom.org/pipermail/flashrom/2010-September/004575.html Corresponding to flashrom svn r1154. Signed-off-by: Joshua Roys <roysjosh@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
-rw-r--r--board_enable.c10
-rw-r--r--print.c1
2 files changed, 11 insertions, 0 deletions
diff --git a/board_enable.c b/board_enable.c
index 815a1a6..a476320 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)
@@ -1807,6 +1816,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},
diff --git a/print.c b/print.c
index 3810d42..6838d73 100644
--- a/print.c
+++ b/print.c
@@ -413,6 +413,7 @@ const struct board_info boards_known[] = {
B("GIGABYTE", "GA-EP35-DS3L", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2778", NULL),
B("GIGABYTE", "GA-EX58-UD4P", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2986", NULL),
B("GIGABYTE", "GA-K8N-SLI", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1928", NULL),
+ B("GIGABYTE", "GA-K8N51GMF-9", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1939", NULL),
B("GIGABYTE", "GA-M57SLI-S4", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2287", NULL),
B("GIGABYTE", "GA-M61P-S3", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2434", NULL),
B("GIGABYTE", "GA-MA69VM-S2", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2500", NULL),
OpenPOWER on IntegriCloud