DataFlash & writesize

Josh Boyer jwboyer at gmail.com
Mon Jun 26 17:42:58 EDT 2006


On 6/26/06, David Brownell <david-b at pacbell.net> wrote:
> 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.

Which git tree and when?  That was a bug that should have been fixed
last week in the mtd-2.6.git tree.  And it should also go to Linus
ASAP.

josh




More information about the linux-mtd mailing list