Author: stefanct Date: Wed Jul 20 18:34:18 2011 New Revision: 1376 URL: http://flashrom.org/trac/flashrom/changeset/1376
Log: fix the ASUS A8N-VM CSM board enable
based on joshua's work, see: http://www.flashrom.org/pipermail/flashrom/2011-June/007015.html
Signed-off-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at Acked-by: Joshua Roys roysjosh@gmail.com Tested-by: Bernie Innocenti bernie@fsf.org
Modified: trunk/board_enable.c
Modified: trunk/board_enable.c ============================================================================== --- trunk/board_enable.c Tue Jul 19 10:50:18 2011 (r1375) +++ trunk/board_enable.c Wed Jul 20 18:34:18 2011 (r1376) @@ -334,14 +334,14 @@ }
/* - * Winbond W83627EHF: Raise GPIO24. + * Winbond W83627EHF: Raise GPIO22. * * Suited for: * - ASUS A8N-VM CSM: AMD Socket 939 + GeForce 6150 (C51) + MCP51 */ -static int w83627ehf_gpio24_raise_2e(void) +static int w83627ehf_gpio22_raise_2e(void) { - return winbond_gpio_set(0x2e, WINBOND_W83627EHF_ID, 24, 1); + return winbond_gpio_set(0x2e, WINBOND_W83627EHF_ID, 22, 1); }
/* @@ -2002,7 +2002,7 @@ {0x8086, 0x27A0, 0x1043, 0x1287, 0x8086, 0x27DF, 0x1043, 0x1287, "^A8J", NULL, NULL, P3, "ASUS", "A8Jm", 0, NT, intel_ich_gpio34_raise}, {0x10DE, 0x0260, 0x103c, 0x2a3e, 0x10DE, 0x0264, 0x103c, 0x2a3e, "NAGAMI2L", NULL, NULL, P3, "ASUS", "A8N-LA (Nagami-GL8E)", 0, OK, nvidia_mcp_gpio0_raise}, {0x10DE, 0x005E, 0x1043, 0x815A, 0x10DE, 0x0054, 0x1043, 0x815A, "^A8N-SLI", NULL, NULL, P3, "ASUS", "A8N-SLI Deluxe", 0, NT, board_shuttle_fn25}, - {0x10de, 0x0264, 0x1043, 0x81bc, 0x10de, 0x02f0, 0x1043, 0x81cd, NULL, NULL, NULL, P3, "ASUS", "A8N-VM CSM", 0, NT, w83627ehf_gpio24_raise_2e}, + {0x10de, 0x0264, 0x1043, 0x81bc, 0x10de, 0x02f0, 0x1043, 0x81cd, NULL, NULL, NULL, P3, "ASUS", "A8N-VM CSM", 0, OK, w83627ehf_gpio22_raise_2e}, {0x10DE, 0x0264, 0x1043, 0x81C0, 0x10DE, 0x0260, 0x1043, 0x81C0, NULL, NULL, NULL, P3, "ASUS", "M2NBP-VM CSM", 0, OK, nvidia_mcp_gpio0_raise}, {0x1106, 0x1336, 0x1043, 0x80ed, 0x1106, 0x3288, 0x1043, 0x8249, NULL, NULL, NULL, P3, "ASUS", "M2V-MX", 0, OK, via_vt823x_gpio5_raise}, {0x8086, 0x24cc, 0, 0, 0x8086, 0x24c3, 0x1043, 0x1869, "^M6Ne$", NULL, NULL, P3, "ASUS", "M6Ne", 0, NT, intel_ich_gpio43_raise},