From ec9e6e33a4d08c4b5afcc51cc5a964e1208731fc Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Mon, 21 Jul 2008 17:48:40 +0000 Subject: flashrom: 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. Signed-off-by: Peter Stuge Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3431 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/board_enable.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'util/flashrom/board_enable.c') diff --git a/util/flashrom/board_enable.c b/util/flashrom/board_enable.c index 9add36685a..f267787f44 100644 --- a/util/flashrom/board_enable.c +++ b/util/flashrom/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 */ }; -- cgit v1.2.3