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@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@gmx.net
Thanks, r590.
There's no uniform erase block size I think, there are the following erase blocks:
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.
Uwe.