diff options
author | Mattias Mattsson <vitplister@gmail.com> | 2010-09-01 01:21:34 +0000 |
---|---|---|
committer | Mattias Mattsson <vitplister@gmail.com> | 2010-09-01 01:21:34 +0000 |
commit | 85016b956709704f50b1755cee6436a8fadaf15a (patch) | |
tree | f85abce20f8ec167c1210ca9109f08d71cb5ee62 /board_enable.c | |
parent | eb0e7fc4f08dcc704565ae07c83878171cc71a44 (diff) | |
download | ast2050-flashrom-85016b956709704f50b1755cee6436a8fadaf15a.zip ast2050-flashrom-85016b956709704f50b1755cee6436a8fadaf15a.tar.gz |
Add board enable for Asus P2B-N
Many thanks to Michael Karcher for reverse engineering this.
lspci/superio output:
http://www.flashrom.org/pipermail/flashrom/2010-August/004475.html
Corresponding to flashrom svn r1146.
Signed-off-by: Mattias Mattsson <vitplister@gmail.com>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'board_enable.c')
-rw-r--r-- | board_enable.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board_enable.c b/board_enable.c index ae0fbfa..815a1a6 100644 --- a/board_enable.c +++ b/board_enable.c @@ -1075,6 +1075,15 @@ static int intel_piix4_gpo_set(unsigned int gpo, int raise) /* * Suited for: + * - ASUS P2B-N + */ +static int intel_piix4_gpo18_lower(void) +{ + return intel_piix4_gpo_set(18, 0); +} + +/* + * Suited for: * - EPoX EP-BX3 */ static int intel_piix4_gpo22_raise(void) @@ -1779,6 +1788,7 @@ const struct board_pciid_enable board_pciid_enables[] = { {0x10de, 0x0264, 0x1043, 0x81bc, 0x10de, 0x02f0, 0x1043, 0x81cd, NULL, NULL, NULL, "ASUS", "A8N-VM CSM", 0, NT, w83627ehf_gpio24_raise_2e}, {0x10DE, 0x0264, 0x1043, 0x81C0, 0x10DE, 0x0260, 0x1043, 0x81C0, NULL, NULL, NULL, "ASUS", "M2NBP-VM CSM", 0, OK, nvidia_mcp_gpio0_raise}, {0x1106, 0x1336, 0x1043, 0x80ed, 0x1106, 0x3288, 0x1043, 0x8249, NULL, NULL, NULL, "ASUS", "M2V-MX", 0, OK, via_vt823x_gpio5_raise}, + {0x8086, 0x7190, 0, 0, 0x8086, 0x7110, 0, 0, "^P2B-N$", NULL, NULL, "ASUS", "P2B-N", 0, OK, intel_piix4_gpo18_lower}, {0x8086, 0x1A30, 0x1043, 0x8025, 0x8086, 0x244B, 0x104D, 0x80F0, NULL, NULL, NULL, "ASUS", "P4B266-LM", 0, OK, intel_ich_gpio21_raise}, {0x8086, 0x1a30, 0x1043, 0x8070, 0x8086, 0x244b, 0x1043, 0x8028, NULL, NULL, NULL, "ASUS", "P4B266", 0, OK, intel_ich_gpio22_raise}, {0x8086, 0x1A30, 0x1043, 0x8088, 0x8086, 0x24C3, 0x1043, 0x8089, NULL, NULL, NULL, "ASUS", "P4B533-E", 0, NT, intel_ich_gpio22_raise}, |