[Bulk] Re: jffs2_flash_writev(): Non-contiguous write to 00825300 with mtd_dataflash

David Brownell david-b at pacbell.net
Thu Nov 30 02:54:07 EST 2006


On Wednesday 29 November 2006 10:29 pm, Andrew Victor wrote:
> hi,
> 
> > > -	device->flags = MTD_CAP_NORFLASH;
> > > +	device->flags = MTD_WRITEABLE;
> > 
> > That "NORFLASH" flag always seemed bogus to me, but it was at the
> > time the only way to make the MTD core behave.
> 
> Wouldn't it be better to introduce a MTD_CAP_DATAFLASH.
> That way if/when more capability flags are added to MTD core, the
> dataflash support will be considered and not forgotten about.

I have no strong opinion one way or another.  Structurally it's
maybe a bit more like NAND, and CAP_NANDFLASH == WRITEABLE, so
there might not be a _need_ for such a capability now that some
of that strangeness is gone ...

- Dave




More information about the linux-mtd mailing list