[coreboot] [PATCH] flashrom: Add PMC Pm29F002T/B support
uwe at hermann-uwe.de
Mon Jun 15 00:06:56 CEST 2009
On Sun, Jun 14, 2009 at 11:32:57PM +0200, Carl-Daniel Hailfinger wrote:
> On 14.06.2009 22:37, Uwe Hermann wrote:
> > Add support for the PMC Pm29F002T/B chips.
> > I sucessfully tested all operations on a Pm29F002T chip. The Pm29F002B is
> > untested but I assume it should also work.
> > Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
> > I didn't find timing info in the datasheet after quick glace. Also,
> > the 8192 is pretty arbitrary as we only do byte-wise programming on
> > this chip.
> page_size usually is the eraseblock size. Please find out the eraseblock
> size and fill it in. Thanks.
> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
There's no uniform erase block size I think, there are the following
Boot Block 16 Kbytes 00000h-03FFFh
Parameter Block 1 8 Kbytes 04000h-05FFFh
Parameter Block 2 8 Kbytes 06000h-07FFFh
Main Block 1 96 Kbytes 08000h-1FFFFh
Main Block 2 128 Kbytes 20000h-3FFFFh
So the 8192 size is probably the best fit until flashrom can handle
non-uniform sectors/blocks, dunno.
http://www.hermann-uwe.de | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
More information about the coreboot