[coreboot] [PATCH] flashrom: W39V040C support (was: contribution to flashrom)

Uwe Hermann uwe at hermann-uwe.de
Tue Jan 22 15:51:57 CET 2008

Hi Tiago,

On Tue, Jan 22, 2008 at 03:21:38AM +0000, Tiago Marques wrote:
> Hi!
> I have recently tried the flashrom software and it ended up saving my day.
> I had a dead board, but with flashrom I managed to hotflash without
> having to take that crap from proprietary flash software that it
> doesn't let me flash because the bios I want to put there is different
> or whatever.
> I managed to successfully flash in a board with a VT8237R, which
> wasn't supported, by adding the proper ID.

Great to hear. Please post a patch to coreboot at coreboot.org with a
Signed-off-by line, see

> Also I would like to know what can I do to have one of the bios chip I
> have here added to the support, which is the W39V04C from winbond.
> I didn't find any documentation in how to do that.

The datasheet for the chip is here:

If you're lucky it's similar enough to one of the other ones and you
only need to add the proper chip ID. If you meant the 'W39V040C'
(note the added '0') then please try the attached patch. Note that
I didn't carefully check the datasheet, I just blindly added the IDs,
so there's no guarantee it'll actually work ;-)

The ID is mentioned on page 11 ('Product Identification Registers').

> Is there any kind of ML for flashrom development?

Yes, flashrom development happens on the coreboot (previously known
as LinuxBIOS) mailing list (CC'd), see http://www.coreboot.org/Mailinglist.
I recommend to subscribe to that list.

Cheers, Uwe.
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom_w39v040c.patch
Type: text/x-diff
Size: 1036 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080122/afd36abc/attachment.bin>

More information about the coreboot mailing list