summaryrefslogtreecommitdiffstats
path: root/board_enable.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2008-07-21 17:48:40 +0000
committerPeter Stuge <peter@stuge.se>2008-07-21 17:48:40 +0000
commitcce2682d6e7275d7ae66bb7c1a50a84b834aaecf (patch)
treebd81dfe7220babdbfaa1f9ef0d88c20d251d628d /board_enable.c
parent85f8a1725f852104dd5f28179776d7d336f14d7f (diff)
downloadast2050-flashrom-cce2682d6e7275d7ae66bb7c1a50a84b834aaecf.zip
ast2050-flashrom-cce2682d6e7275d7ae66bb7c1a50a84b834aaecf.tar.gz
Winbond W39V040C and MSI K8T Neo2-F
W39V040C does standard JEDEC commands except chip erase so add a small driver. probe_w39v040c() prints the block lock pin status when a chip is found. The Neo2 board enable matches on 8237-internal IDE and onboard NIC PCI IDs. Many thanks to Daniel McLellan for testing all of this on hardware! Build tested by Uwe. Corresponding to flashrom svn r304 and coreboot v2 svn r3431. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'board_enable.c')
-rw-r--r--board_enable.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board_enable.c b/board_enable.c
index 9add366..f267787 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -114,6 +114,7 @@ static int w83627hf_gpio24_raise_2e(const char *name)
* Winbond W83627THF: GPIO 4, bit 4
*
* Suited for:
+ * - MSI K8T Neo2-F
* - MSI K8N-NEO3
*/
static int w83627thf_gpio4_4_raise(uint16_t index, const char *name)
@@ -141,6 +142,11 @@ static int w83627thf_gpio4_4_raise(uint16_t index, const char *name)
return 0;
}
+static int w83627thf_gpio4_4_raise_2e(const char *name)
+{
+ return w83627thf_gpio4_4_raise(0x2e, name);
+}
+
static int w83627thf_gpio4_4_raise_4e(const char *name)
{
return w83627thf_gpio4_4_raise(0x4e, name);
@@ -617,6 +623,8 @@ struct board_pciid_enable board_pciid_enables[] = {
NULL, NULL, "BioStar P4M80-M4", board_biostar_p4m80_m4},
{0x1106, 0x3227, 0x1458, 0x5001, 0x10ec, 0x8139, 0x1458, 0xe000,
NULL, NULL, "GIGABYTE GA-7VT600", board_biostar_p4m80_m4},
+ {0x1106, 0x3149, 0x1462, 0x7094, 0x10ec, 0x8167, 0x1462, 0x094c,
+ NULL, NULL, "MSI K8T Neo2", w83627thf_gpio4_4_raise_2e},
{0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL} /* Keep this */
};
OpenPOWER on IntegriCloud