DataFlash & writesize

David Brownell david-b at pacbell.net
Mon Jun 26 16:33:11 EDT 2006


On Friday 23 June 2006 3:43 am, Artem B. Bityutskiy wrote:
> On Fri, 2006-06-23 at 12:27 +0200, Andrew Victor wrote:
> > Since the writesize change is now in mainline git, here is a trivial
> > patch to set mtd->writesize for DataFlash.
> > [writesize = erasesize = pagesize]
> > 
> 
> Andrew,
> 
> I made the same yesterday and it is in GIT, but thank you anyway!

What are the intended semantics for "writesize" by the way?

I noticed I was getting that first BUG_ON in mtdcore:add_mtd_device
since, with NOR CFI cmdset 1 flash, with current GIT.  Seems like
writesie should have been set up already.

- Dave




More information about the linux-mtd mailing list