Hi, here's a tiny patch to make flashrom work on an vt8237-based board.
I tried using both enable_flash_vt8231() and enable_flash_vt8235(), and both work fine for the vt8237, it seems. I tested probing, reading and writing achip. All of that worked with a few 512K chips. However, some other 256K chips were not detected properly, but that might be another issue... Uwe. -- Uwe Hermann http://www.hermann-uwe.de http://www.it-services-uh.de | http://www.crazy-hacks.org http://www.holsham-traders.de | http://www.unmaintained-free-software.org
Index: flash_enable.c
===================================================================
--- flash_enable.c (Revision 2455)
+++ flash_enable.c (Arbeitskopie)
@@ -381,6 +381,7 @@
{0x8086, 0x2814, "ICH8DO", enable_flash_ich_dc},
{0x1106, 0x8231, "VT8231", enable_flash_vt8231},
{0x1106, 0x3177, "VT8235", enable_flash_vt8235},
+ {0x1106, 0x3227, "VT8237", enable_flash_vt8231},
{0x1078, 0x0100, "CS5530", enable_flash_cs5530},
{0x100b, 0x0510, "SC1100", enable_flash_sc1100},
{0x1039, 0x0008, "SIS5595", enable_flash_sis5595},
signature.asc
Description: Digital signature
-- linuxbios mailing list [email protected] http://www.openbios.org/mailman/listinfo/linuxbios
