Add board enable for Asus M2NBP-VM CSM
Signed-Off-By: Michael Karcher <flashrom(a)mkarcher.dialup.fu-berlin.de>
Index: board_enable.c
===================================================================
--- board_enable.c (Revision 803)
+++ board_enable.c (Arbeitskopie)
@@ -450,6 +450,7 @@
case 0x0030: /* CK804 */
case 0x0050: /* MCP04 */
case 0x0060: /* MCP2 */
+ case 0x0264: /* MCP51 */
break;
default:
fprintf(stderr, "\nERROR: no nVidia SMBus controller found.\n");
@@ -470,6 +471,14 @@
}
/**
+ * Suited for ASUS M2NBP-VM CSM: nVidia MCP51.
+ */
+static int nvidia_mcp_gpio0_raise(const char *name)
+{
+ return nvidia_mcp_gpio_set(0x00, 1);
+}
+
+/**
* Suited for ASUS P5ND2-SLI Deluxe: LGA775 + nForce4 SLI + MCP04.
*/
static int nvidia_mcp_gpio10_raise(const char *name)
@@ -1226,6 +1235,7 @@
{0x1106, 0x3189, 0x1043, 0x807F, 0x1106, 0x3177, 0x1043, 0x808C, NULL, NULL, "ASUS", "A7V8X", board_asus_a7v8x},
{0x1106, 0x3177, 0x1043, 0x80A1, 0x1106, 0x3205, 0x1043, 0x8118, NULL, NULL, "ASUS", "A7V8X-MX SE", board_asus_a7v8x_mx},
{0x1106, 0x1336, 0x1043, 0x80ed, 0x1106, 0x3288, 0x1043, 0x8249, NULL, NULL, "ASUS", "M2V-MX", board_asus_m2v_mx},
+ {0x10DE, 0x0264, 0x1043, 0x81C0, 0x10DE, 0x0260, 0x1043, 0x81C0, NULL, NULL, "ASUS", "M2NBP-VM CSM", nvidia_mcp_gpio0_raise},
{0x8086, 0x1a30, 0x1043, 0x8070, 0x8086, 0x244b, 0x1043, 0x8028, NULL, NULL, "ASUS", "P4B266", intel_ich_gpio22_raise},
{0x8086, 0x1A30, 0x1043, 0x8025, 0x8086, 0x244B, 0x104D, 0x80F0, NULL, NULL, "ASUS", "P4B266-LM", intel_ich_gpio21_raise},
{0x8086, 0x2570, 0x1043, 0x80F2, 0x105A, 0x3373, 0x1043, 0x80F5, NULL, NULL, "ASUS", "P4P800-E Deluxe", intel_ich_gpio21_raise},