[flashrom] [PATCH] Board-enable for MS-7025 (K8N Neo2 Platinum)

Michael Karcher flashrom at mkarcher.dialup.fu-berlin.de
Wed Apr 21 11:28:36 CEST 2010


now includes the PCI ID of the nForce3 MCP.
AND THE RIGHT PATCH!

Signed-off-by: Michael Karcher <flashrom at mkarcher.dialup.fu-berlin.de>
---
 board_enable.c   |   10 ++++++++++
 chipset_enable.c |    1 +
 print_wiki.c     |    1 +
 3 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/board_enable.c b/board_enable.c
index f1f7953..5e7a774 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -523,6 +523,7 @@ static int nvidia_mcp_gpio_set(int gpio, int raise)
 	case 0x0030: /* CK804 */
 	case 0x0050: /* MCP04 */
 	case 0x0060: /* MCP2 */
+	case 0x00E0: /* nForce3 MCP */
 		break;
 	default:
 	    /* Newer MCPs use the SMBus Controller */
@@ -586,6 +587,14 @@ static int nvidia_mcp_gpio8_raise(const char *name)
 }
 
 /**
+ * Suited for MSI K8N Neo2 Platinum: Socket 939 + nForce3 Ultra + MCP04.
+ */
+static int nvidia_mcp_gpio0c_raise(const char *name)
+{
+	return nvidia_mcp_gpio_set(0x0c, 1);
+}
+
+/**
  * Suited for ASUS P5ND2-SLI Deluxe: LGA775 + nForce4 SLI + MCP04.
  */
 static int nvidia_mcp_gpio10_raise(const char *name)
@@ -1403,6 +1412,7 @@ struct board_pciid_enable board_pciid_enables[] = {
 	{0x1106, 0x3149, 0x1462, 0x7094,  0x10ec, 0x8167, 0x1462, 0x094c, NULL,          NULL,         NULL,          "MSI",         "MS-6702E (K8T Neo2-F)", 0,   OK, w83627thf_gpio4_4_raise_2e},
 	{0x1106, 0x0571, 0x1462, 0x7120,  0x1106, 0x3065, 0x1462, 0x7120, NULL,          NULL,         NULL,          "MSI",         "MS-6712 (KT4V)",        0,   OK, board_msi_kt4v},
 	{0x1039, 0x7012, 0x1462, 0x0050,  0x1039, 0x6325, 0x1462, 0x0058, NULL,          NULL,         NULL,          "MSI",         "MS-7005 (651M-L)",      0,   OK, board_msi_651ml},
+	{0x10DE, 0x00E0, 0x1462, 0x0250,  0x10DE, 0x00E1, 0x1462, 0x0250, NULL,          NULL,         NULL,          "MSI",         "MS-7025 (K8N Neo2)",    0,   OK, nvidia_mcp_gpio0c_raise},
 	{0x8086, 0x2658, 0x1462, 0x7046,  0x1106, 0x3044, 0x1462, 0x046d, NULL,          NULL,         NULL,          "MSI",         "MS-7046",               0,   OK, intel_ich_gpio19_raise},
 	{0x10DE, 0x005E, 0x1462, 0x7135,  0x10DE, 0x0050, 0x1462, 0x7135, NULL,          "msi",        "k8n-neo3",    "MSI",         "MS-7135 (K8N Neo3)",    0,   OK, w83627thf_gpio4_4_raise_4e},
 	{0x10DE, 0x0270, 0x1462, 0x7207,  0x10DE, 0x0264, 0x1462, 0x7207, NULL,          NULL,         NULL,          "MSI",         "MS-7207 (K8N GM2-L)",   0,   NT, nvidia_mcp_gpio2_raise},
diff --git a/chipset_enable.c b/chipset_enable.c
index fc60484..bbfcdaa 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -1347,6 +1347,7 @@ const struct penable chipset_enables[] = {
 	{0x10de, 0x0050, OK, "NVIDIA", "CK804",		enable_flash_ck804}, /* LPC */
 	{0x10de, 0x0051, OK, "NVIDIA", "CK804",		enable_flash_ck804}, /* Pro */
 	{0x10de, 0x0060, OK, "NVIDIA", "NForce2",       enable_flash_nvidia_nforce2},
+	{0x10de, 0x00e0, OK, "NVIDIA", "NForce3",       enable_flash_nvidia_nforce2},
 	/* Slave, should not be here, to fix known bug for A01. */
 	{0x10de, 0x00d3, OK, "NVIDIA", "CK804",		enable_flash_ck804},
 	{0x10de, 0x0260, NT, "NVIDIA", "MCP51",		enable_flash_ck804},
diff --git a/print_wiki.c b/print_wiki.c
index 87adf4d..720f387 100644
--- a/print_wiki.c
+++ b/print_wiki.c
@@ -263,6 +263,7 @@ const struct board_info_url boards_url[] = {
 	{ "MSI",		"MS-6712 (KT4V)",	"http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=505" },
 	{ "MSI",		"MS-7005 (651M-L)",	"http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=559" },
 	{ "MSI",		"MS-7046",		"http://www.heimir.de/ms7046/" },
+	{ "MSI",                "MS-7025 (K8N Neo2)",   "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=587" },
 	{ "MSI",		"MS-7135 (K8N Neo3)",	"http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=170" },
 	{ "Shuttle",		"AK31",			"http://www.motherboard.cz/mb/shuttle/AK31.htm" },
 	{ "Shuttle",		"AK38N",		"http://eu.shuttle.com/en/desktopdefault.aspx/tabid-36/558_read-9889/" },
-- 
1.7.0





More information about the flashrom mailing list